mirror of
https://github.com/postgres/postgres.git
synced 2025-09-02 04:21:28 +03:00
Fix pg_dump and pg_dumpall for new names of built-in tablespaces,
per Chris K-L.
This commit is contained in:
@@ -12,7 +12,7 @@
|
||||
* by PostgreSQL
|
||||
*
|
||||
* IDENTIFICATION
|
||||
* $PostgreSQL: pgsql/src/bin/pg_dump/pg_dump.c,v 1.375 2004/06/18 06:14:00 tgl Exp $
|
||||
* $PostgreSQL: pgsql/src/bin/pg_dump/pg_dump.c,v 1.376 2004/06/21 13:36:41 tgl Exp $
|
||||
*
|
||||
*-------------------------------------------------------------------------
|
||||
*/
|
||||
@@ -1252,7 +1252,7 @@ dumpDatabase(Archive *AH)
|
||||
appendPQExpBuffer(creaQry, " ENCODING = ");
|
||||
appendStringLiteral(creaQry, encoding, true);
|
||||
}
|
||||
if (strlen(tablespace) > 0 && strcmp(tablespace, "default") != 0)
|
||||
if (strlen(tablespace) > 0 && strcmp(tablespace, "pg_default") != 0)
|
||||
{
|
||||
appendPQExpBuffer(creaQry, " TABLESPACE = %s", fmtId(tablespace));
|
||||
}
|
||||
|
Reference in New Issue
Block a user