Re: pg_upgrade - add config directory setting
Bruce Momjian <bruce@momjian.us>
From: Bruce Momjian <bruce@momjian.us>
To: Tom Lane <tgl@sss.pgh.pa.us>
Cc: Steve Crawford <scrawford@pinpointresearch.com>, "Mr. Aaron W. Swenson" <titanofold@gentoo.org>, pgsql-hackers@postgresql.org
Date: 2011-10-07T01:45:13Z
Lists: pgsql-hackers
Attachments
- /rtmp/pg_upgrade (text/x-diff) patch
Bruce Momjian wrote: > I will now work on pg_upgrade to also use the new flag to find the data > directory from a config-only install. However, this is only available > in PG 9.2, and it will only be in PG 9.3 that you can hope to use this > feature (if old is PG 9.2 or later). I am afraid the symlink hack will > have to be used for several more years, and if you are supporting > upgrades from pre-9.2, perhaps forever. The attached patch uses "postmaster -C data_directory" to allow config-only upgrades. It will allow a normal 9.1 cluster to be upgraded to a 9.2 config-only cluster. -- Bruce Momjian <bruce@momjian.us> http://momjian.us EnterpriseDB http://enterprisedb.com + It's impossible for everything to be true. +