1
0
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:
Tom Lane
2004-06-21 13:36:42 +00:00
parent f5f448fb3e
commit ba6b87f330
2 changed files with 10 additions and 10 deletions

View File

@@ -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));
}