Re: Bug with pg_ctl -w/wait and config-only directories

From: Robert Haas <robertmhaas(at)gmail(dot)com>
To: Bruce Momjian <bruce(at)momjian(dot)us>
Cc: Alvaro Herrera <alvherre(at)commandprompt(dot)com>, Peter Eisentraut <peter_e(at)gmx(dot)net>, Fujii Masao <masao(dot)fujii(at)gmail(dot)com>, "Mr(dot) Aaron W(dot) Swenson" <titanofold(at)gentoo(dot)org>, Pg Hackers <pgsql-hackers(at)postgresql(dot)org>
Subject: Re: Bug with pg_ctl -w/wait and config-only directories
Date: 2011-10-03 20:31:36
Message-ID: CA+TgmobEYuhPCjmmXg1=QA9TutP8Y5J1EbsSG01NY2upxkFggQ@mail.gmail.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

On Mon, Oct 3, 2011 at 3:59 PM, Bruce Momjian <bruce(at)momjian(dot)us> wrote:
> pg_ctl would have to do some detective work to see if PG_VERSION existed
> in that directory and adjust its behavior --- the pg_upgrade patch I
> posted does this kind of detection.  The goal is the change would happen
> only for people using config-only directories, and when a config-only
> directory is specified.

Exactly. That sounds like a good improvement for master even if
pg_upgrade were not at issue, and we should do it. We can also
consider whether it makes sense to back-patch it so that pg_upgrade
can benefit from it.

--
Robert Haas
EnterpriseDB: http://www.enterprisedb.com
The Enterprise PostgreSQL Company

In response to

Browse pgsql-hackers by date

  From Date Subject
Next Message Alvaro Herrera 2011-10-03 20:32:04 Re: Bug with pg_ctl -w/wait and config-only directories
Previous Message Peter Eisentraut 2011-10-03 20:30:56 Re: Bug with pg_ctl -w/wait and config-only directories