We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 68528d3 commit 27dfc11Copy full SHA for 27dfc11
src/bin/pg_dump/pg_dumpall.c
@@ -6,7 +6,7 @@
6
* Portions Copyright (c) 1994, Regents of the University of California
7
*
8
9
- * $PostgreSQL: pgsql/src/bin/pg_dump/pg_dumpall.c,v 1.101 2008/03/20 17:36:57 tgl Exp $
+ * $PostgreSQL: pgsql/src/bin/pg_dump/pg_dumpall.c,v 1.102 2008/03/20 17:42:51 tgl Exp $
10
11
*-------------------------------------------------------------------------
12
*/
@@ -1020,7 +1020,7 @@ dumpCreateDB(PGconn *conn)
1020
* would be to use 'SET default_tablespace' like we do in pg_dump
1021
* for setting non-default database locations.
1022
1023
- if (strcmp(dbtablespace, "pg_default") != 0)
+ if (strcmp(dbtablespace, "pg_default") != 0 && !no_tablespaces)
1024
appendPQExpBuffer(buf, " TABLESPACE = %s",
1025
fmtId(dbtablespace));
1026
0 commit comments