mirror of
https://git.postgresql.org/git/postgresql.git
synced 2025-02-17 19:30:00 +08:00
Back-patch fix for erroneous backslashing of LIKE pattern.
This commit is contained in:
parent
183b1bf84f
commit
2486a88b06
@ -6,7 +6,7 @@
|
||||
* Portions Copyright (c) 1994, Regents of the University of California
|
||||
*
|
||||
*
|
||||
* $PostgreSQL: pgsql/src/bin/pg_dump/pg_dumpall.c,v 1.57.4.1 2005/04/18 23:48:01 tgl Exp $
|
||||
* $PostgreSQL: pgsql/src/bin/pg_dump/pg_dumpall.c,v 1.57.4.2 2005/07/18 19:18:19 tgl Exp $
|
||||
*
|
||||
*-------------------------------------------------------------------------
|
||||
*/
|
||||
@ -539,7 +539,7 @@ dumpTablespaces(PGconn *conn)
|
||||
"pg_catalog.pg_get_userbyid(spcowner) AS spcowner, "
|
||||
"spclocation, spcacl "
|
||||
"FROM pg_catalog.pg_tablespace "
|
||||
"WHERE spcname NOT LIKE 'pg\\_%'");
|
||||
"WHERE spcname NOT LIKE 'pg!_%' ESCAPE '!'");
|
||||
|
||||
if (PQntuples(res) > 0)
|
||||
printf("--\n-- Tablespaces\n--\n\n");
|
||||
|
Loading…
Reference in New Issue
Block a user