Support a --no-tablespaces option in pg_dump/pg_dumpall/pg_restore, so that

Tom Lane <tgl@sss.pgh.pa.us>

Commit: 68528d37bbfbb3ae8dc83418f3e1d343c4050f0a
Author: Tom Lane <tgl@sss.pgh.pa.us>
Date: 2008-03-20T17:36:58Z
Releases: 8.4.0
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.

Files