Re: Pg_ctl promote -- wait for slave to be promoted fully ?

From: Fujii Masao <masao(dot)fujii(at)gmail(dot)com>
To: Magnus Hagander <magnus(at)hagander(dot)net>
Cc: PostgreSQL-development <pgsql-hackers(at)postgresql(dot)org>
Subject: Re: Pg_ctl promote -- wait for slave to be promoted fully ?
Date: 2012-08-07 17:09:32
Message-ID: CAHGQGwEiZ=Z6om8_=GkEd4PH5mg9jGxM-PY_VtX2Wts=_CDmBA@mail.gmail.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general pgsql-hackers

On Tue, Aug 7, 2012 at 10:22 PM, Magnus Hagander <magnus(at)hagander(dot)net> wrote:
> Should we consider if we can make "pg_ctl -w" work for "promote" as well?

+1

> The main problem is, I guess, that it can't log in - so wed' need
> something like "PQping()" that actually checked if it was master or
> slave?

Yes.

Regards,

--
Fujii Masao

In response to

Responses

Browse pgsql-general by date

  From Date Subject
Next Message David Greco 2012-08-07 17:16:08 Re: Feature Request - Postgres FDW
Previous Message Andreas Kretschmer 2012-08-07 17:06:51 Re: Feature Request - Postgres FDW

Browse pgsql-hackers by date

  From Date Subject
Next Message Bruce Momjian 2012-08-07 17:10:52 pg_upgrade bug in Windows on PG 9.2
Previous Message David Fetter 2012-08-07 16:42:54 Re: WIP: pg_pretty_query