File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change 6
6
* Portions Copyright (c) 1994, Regents of the University of California
7
7
*
8
8
*
9
- * $PostgreSQL: pgsql/src/bin/pg_dump/pg_dumpall.c,v 1.101 2008/03/20 17:36:57 tgl Exp $
9
+ * $PostgreSQL: pgsql/src/bin/pg_dump/pg_dumpall.c,v 1.102 2008/03/20 17:42:51 tgl Exp $
10
10
*
11
11
*-------------------------------------------------------------------------
12
12
*/
@@ -1020,7 +1020,7 @@ dumpCreateDB(PGconn *conn)
1020
1020
* would be to use 'SET default_tablespace' like we do in pg_dump
1021
1021
* for setting non-default database locations.
1022
1022
*/
1023
- if (strcmp (dbtablespace , "pg_default" ) != 0 )
1023
+ if (strcmp (dbtablespace , "pg_default" ) != 0 && ! no_tablespaces )
1024
1024
appendPQExpBuffer (buf , " TABLESPACE = %s" ,
1025
1025
fmtId (dbtablespace ));
1026
1026
You can’t perform that action at this time.
0 commit comments