Re: Synchronous standby - Mailing list pgsql-hackers

From Jaime Casanova
Subject Re: Synchronous standby
Date
Msg-id AANLkTin=V0jYszMeUPRCfpYHZOZinGonpR1Au9gfe3m3@mail.gmail.com
Whole thread Raw
In response to Synchronous standby  (Tatsuo Ishii <ishii@postgresql.org>)
Responses Re: Synchronous standby  (Tatsuo Ishii <ishii@sraoss.co.jp>)
List pgsql-hackers
On Wed, Feb 23, 2011 at 3:49 AM, Tatsuo Ishii <ishii@postgresql.org> wrote:
> In 9.1, we will be able to have synchrnous replication. Also we have
> one standby server chosen by primary to be the synchronous standby
> (still I'm not sure this is correct or not as stated in another mail).
>

yes, it is. a list of possible synch standbys and one of them chosen
to be the one

> Is there anyway to know which is the synchronous standby? IMO this is
> important for users because that one is likely the least behind to
> primary and will be chosen to promoto in case of primary dying in most
> cases.

i guess, we can put a new column in pg_stat_replication stating the
type of the replication (synch or asynch).
but that is surely a different patch...

--
Jaime Casanova         www.2ndQuadrant.com
Professional PostgreSQL: Soporte y capacitación de PostgreSQL


pgsql-hackers by date:

Previous
From: "Kevin Grittner"
Date:
Subject: Re: How to extract a value from a record using attnum or attname?
Next
From: Andrew Dunstan
Date:
Subject: Re: Correctly producing array literals for prepared statements