BUG #6581: pg_dumpall --no-tablespaces option still sets default tablespace - Mailing list pgsql-bugs

From keith@omniti.com
Subject BUG #6581: pg_dumpall --no-tablespaces option still sets default tablespace
Date
Msg-id E1SI1fQ-0001Qu-MM@wrigleys.postgresql.org
Whole thread Raw
Responses Re: BUG #6581: pg_dumpall --no-tablespaces option still sets default tablespace
List pgsql-bugs
The following bug has been logged on the website:

Bug reference:      6581
Logged by:          Keith Fiske
Email address:      keith@omniti.com
PostgreSQL version: 9.1.3
Operating system:   Any
Description:=20=20=20=20=20=20=20=20

Using the --no-tablespaces option for pg_dumpall correctly stops tablespace
creation and each individual object from having its tablespace set. But if
the original database had its default tablespace changed, this is still
added at the beginning of the dump file:

ALTER DATABASE dbname SET default_tablespace TO 'old_db_tablespace';

pgsql-bugs by date:

Previous
From: Barry Bell
Date:
Subject: Re: BUG #6534: Passing numeric Bind variables to ODBC driver convers to "Double precision"
Next
From: Tom Lane
Date:
Subject: Re: BUG #6581: pg_dumpall --no-tablespaces option still sets default tablespace