pgsql: Support a --no-tablespaces option in

From: tgl(at)postgresql(dot)org (Tom Lane)
To: pgsql-committers(at)postgresql(dot)org
Subject: pgsql: Support a --no-tablespaces option in
Date: 2008-03-20 17:36:58
Message-ID: 20080320173658.15DE37558DD@cvs.postgresql.org
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-committers

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)

Browse pgsql-committers by date

  From Date Subject
Next Message Tom Lane 2008-03-20 17:42:51 pgsql: Dept of second thoughts: --no-tablespaces had better also prevent
Previous Message Michael Meskes 2008-03-20 16:30:14 pgsql: Added ECPGget_PGconn() function to ecpglib, courtesy of Mike