BUG #6581: pg_dumpall --no-tablespaces option still sets default tablespace

From: keith(at)omniti(dot)com
To: pgsql-bugs(at)postgresql(dot)org
Subject: BUG #6581: pg_dumpall --no-tablespaces option still sets default tablespace
Date: 2012-04-11 17:49:16
Message-ID: E1SI1fQ-0001Qu-MM@wrigleys.postgresql.org
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-bugs

The following bug has been logged on the website:

Bug reference: 6581
Logged by: Keith Fiske
Email address: keith(at)omniti(dot)com
PostgreSQL version: 9.1.3
Operating system: Any
Description:

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';

Responses

Browse pgsql-bugs by date

  From Date Subject
Next Message Tom Lane 2012-04-11 18:21:34 Re: BUG #6581: pg_dumpall --no-tablespaces option still sets default tablespace
Previous Message Barry Bell 2012-04-11 12:54:19 Re: BUG #6534: Passing numeric Bind variables to ODBC driver convers to "Double precision"