Thread: pgsql: Support a --no-tablespaces option in
Log Message: ----------- Support a --no-tablespaces option in pg_dump/pg_dumpall/pg_restore, so that dumps can be loaded into databases without the same tablespaces that the source had. The option acts by suppressing all "SET default_tablespace" commands, and also CREATE TABLESPACE commands in pg_dumpall's case. Gavin Roy, with documentation and minor fixes by me. Modified Files: -------------- pgsql/doc/src/sgml/ref: pg_dump.sgml (r1.98 -> r1.99) (http://anoncvs.postgresql.org/cvsweb.cgi/pgsql/doc/src/sgml/ref/pg_dump.sgml?r1=1.98&r2=1.99) pg_dumpall.sgml (r1.69 -> r1.70) (http://anoncvs.postgresql.org/cvsweb.cgi/pgsql/doc/src/sgml/ref/pg_dumpall.sgml?r1=1.69&r2=1.70) pg_restore.sgml (r1.72 -> r1.73) (http://anoncvs.postgresql.org/cvsweb.cgi/pgsql/doc/src/sgml/ref/pg_restore.sgml?r1=1.72&r2=1.73) pgsql/src/bin/pg_dump: pg_backup.h (r1.45 -> r1.46) (http://anoncvs.postgresql.org/cvsweb.cgi/pgsql/src/bin/pg_dump/pg_backup.h?r1=1.45&r2=1.46) pg_backup_archiver.c (r1.152 -> r1.153) (http://anoncvs.postgresql.org/cvsweb.cgi/pgsql/src/bin/pg_dump/pg_backup_archiver.c?r1=1.152&r2=1.153) pg_dump.c (r1.482 -> r1.483) (http://anoncvs.postgresql.org/cvsweb.cgi/pgsql/src/bin/pg_dump/pg_dump.c?r1=1.482&r2=1.483) pg_dumpall.c (r1.100 -> r1.101) (http://anoncvs.postgresql.org/cvsweb.cgi/pgsql/src/bin/pg_dump/pg_dumpall.c?r1=1.100&r2=1.101) pg_restore.c (r1.85 -> r1.86) (http://anoncvs.postgresql.org/cvsweb.cgi/pgsql/src/bin/pg_dump/pg_restore.c?r1=1.85&r2=1.86)