pg.ddx.io  pgsql-bugs@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: keith@omniti.com
To: pgsql-bugs@postgresql.org
Subject: BUG #6581: pg_dumpall --no-tablespaces option still sets default tablespace
Date: Wed, 11 Apr 2012 17:49:16 +0000
Message-ID: <E1SI1fQ-0001Qu-MM@wrigleys.postgresql.org> (raw)

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:        

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





view thread (3+ messages)  latest in thread

Message-ID: <E1SI1fQ-0001Qu-MM@wrigleys.postgresql.org>
Permalink:  ../E1SI1fQ-0001Qu-MM@wrigleys.postgresql.org/
Also on:    postgresql.org/message-id/E1SI1fQ-0001Qu-MM@wrigleys.postgresql.org

 · 

reply

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Reply to all the recipients from your mail client; the link fills in
  the headers below: reply via email
  Some clients, webmail especially, drop In-Reply-To and References from
  a link, and the reply then starts a new thread: use the mbox below.

  To: pgsql-bugs@postgresql.org
  Cc: keith@omniti.com
  Subject: Re: BUG #6581: pg_dumpall --no-tablespaces option still sets default tablespace
  In-Reply-To: <E1SI1fQ-0001Qu-MM@wrigleys.postgresql.org>
  References: <E1SI1fQ-0001Qu-MM@wrigleys.postgresql.org>

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox