Skip site navigation (1) Skip section navigation (2)

ALTER DATABASE vs pg_dump

From: Richard Huxton <dev(at)archonet(dot)com>
To: PG Hackers <pgsql-hackers(at)postgresql(dot)org>
Subject: ALTER DATABASE vs pg_dump
Date: 2008-06-27 13:49:53
Message-ID: 4864F001.50909@archonet.com (view raw or flat)
Thread:
Lists: pgsql-hackers
Is it desirable that pg_dump doesn't dump config settings set via ALTER 
DATABASE?

http://archives.postgresql.org/pgsql-novice/2008-04/msg00016.php

I just got bitten by a DateStyle not being restored on my test DB (I 
usually set it client-side in the app). I could see someone without my 
steel trap of a mind letting something like this slip through. Obvious 
problem settings would be: datestyle, locale, default-text-search

Is this a deliberate behaviour of pg_dump or just an unscratched itch?

-- 
   Richard Huxton
   Archonet Ltd

Responses

pgsql-hackers by date

Next:From: Gregory StarkDate: 2008-06-27 14:25:47
Subject: Re: [HACKERS] Hint Bits and Write I/O
Previous:From: Alvaro HerreraDate: 2008-06-27 12:56:11
Subject: Re: ecpg generated files ignorable?

Privacy Policy | About PostgreSQL
Copyright © 1996-2014 The PostgreSQL Global Development Group