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

Re: pg_upgrade - add config directory setting

From: Steve Crawford <scrawford(at)pinpointresearch(dot)com>
To: Peter Eisentraut <peter_e(at)gmx(dot)net>
Cc: PostgreSQL-development <pgsql-hackers(at)postgresql(dot)org>
Subject: Re: pg_upgrade - add config directory setting
Date: 2011-09-28 15:19:44
Message-ID: (view raw, whole thread or download thread mbox)
Lists: pgsql-hackers
On 09/28/2011 12:49 AM, Peter Eisentraut wrote:
> On tis, 2011-09-27 at 16:13 -0700, Steve Crawford wrote:
>> It would perhaps be useful to add optional --old-confdir and
>> --new-confdir parameters to pg_upgrade. If these parameters are absent
>> then pg_upgrade would work as it does now and assume that the config
>> files are in the datadir.
> It should work the same way the postmaster itself works: If the given
> directory is not a data directory, look for the postgresql.conf file and
> look there for the location of the data directory.
That would make sense to me (I actually tried setting the datadirs based 
on that assumption). It would require adding that feature to pg_upgrade 
and tweaking the docs for --XXX-datadir but would not require any new 


In response to

pgsql-hackers by date

Next:From: Andrew DunstanDate: 2011-09-28 15:21:40
Subject: Re: Feature proposal: www_fdw
Previous:From: David FetterDate: 2011-09-28 15:17:07
Subject: Re: Feature proposal: www_fdw

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