pg.ddx.io  pgsql-bugs@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Bruce Momjian <bruce@momjian.us>
To: joe@tanga.com
Cc: pgsql-bugs@postgresql.org
Subject: Re: BUG #7874: GUC's not in database dumps
Date: Fri, 15 Feb 2013 15:33:47 -0500
Message-ID: <20130215203347.GD12030@momjian.us> (raw)
In-Reply-To: <E1U5nl2-0001mw-Fe@wrigleys.postgresql.org>
References: <E1U5nl2-0001mw-Fe@wrigleys.postgresql.org>
List-Unsubscribe: <mailto:majordomo@postgresql.org?body=unsub%20pgsql-bugs>

On Thu, Feb 14, 2013 at 01:37:04AM +0000, joe@tanga.com wrote:
> The following bug has been logged on the website:
> 
> Bug reference:      7874
> Logged by:          Joe Van Dyk
> Email address:      joe@tanga.com
> PostgreSQL version: 9.2.1
> Operating system:   OSX, Linux
> Description:        
> 
> If I run:
>    alter database foo set my.name = 'joe';
> 
> that GUC isn't available inside backups of that database.
> 
> It does show up when doing "pg_dumpall -s". 
> 
> It does *not* show up when doing "pg_dumpall -g"
> 

This is a TODO:

	https://wiki.postgresql.org/wiki/Todo#ALTER
	
	Refactor handling of database attributes between pg_dump and pg_dumpall
	
	    Currently only pg_dumpall emits database attributes, such as ALTER
	DATABASE SET commands and database-level GRANTs. Many people wish that
	pg_dump would do that. One proposal is to let pg_dump issue such
	commands if the -C switch was used, but it's unclear whether that will
	satisfy the demand. 
	
	http://www.postgresql.org/message-id/4864F001.50909@archonet.com
	http://www.postgresql.org/message-id/11646.1272814212@sss.pgh.pa.us

-- 
  Bruce Momjian  <bruce@momjian.us>        http://momjian.us
  EnterpriseDB                             http://enterprisedb.com

  + It's impossible for everything to be true. +


-- 
Sent via pgsql-bugs mailing list (pgsql-bugs@postgresql.org)
To make changes to your subscription:
http://www.postgresql.org/mailpref/pgsql-bugs



view thread (2+ messages)

Message-ID: <20130215203347.GD12030@momjian.us>
Permalink:  ../20130215203347.GD12030@momjian.us/
Also on:    postgresql.org/message-id/20130215203347.GD12030@momjian.us

 · 

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: bruce@momjian.us, joe@tanga.com
  Subject: Re: BUG #7874: GUC's not in database dumps
  In-Reply-To: <20130215203347.GD12030@momjian.us>
  References: <E1U5nl2-0001mw-Fe@wrigleys.postgresql.org> <20130215203347.GD12030@momjian.us>

* 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