Re: Does anything dump per-database config settings? (was Re: ALTER DATABASE vs pg_dump)

From: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
To: Bruce Momjian <bruce(at)momjian(dot)us>
Cc: Robert Treat <xzilla(at)users(dot)sourceforge(dot)net>, pgsql-hackers(at)postgresql(dot)org, Richard Huxton <dev(at)archonet(dot)com>, Alvaro Herrera <alvherre(at)commandprompt(dot)com>
Subject: Re: Does anything dump per-database config settings? (was Re: ALTER DATABASE vs pg_dump)
Date: 2008-08-22 03:05:25
Message-ID: 332.1219374325@sss.pgh.pa.us
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

Bruce Momjian <bruce(at)momjian(dot)us> writes:
> ALTER DATABASE ... SET seems to be something that doesn't fit in
> anywhere; I am thinking pg_dump -g should dump it.

The upthread conclusion was that pg_dump -C should do it.
I am not sure how you come to the conclusion that -g is an
appropriate place, seeing that -g will not create the database(s)
that it'd be trying to apply ALTER to.

regards, tom lane

In response to

Responses

Browse pgsql-hackers by date

  From Date Subject
Next Message D'Arcy J.M. Cain 2008-08-22 03:18:24 Re: Proposal: new border setting in psql
Previous Message Bruce Momjian 2008-08-22 02:28:14 Re: Does anything dump per-database config settings? (was Re: ALTER DATABASE vs pg_dump)