Re: Function to promote standby servers - Mailing list pgsql-hackers

From Michael Paquier
Subject Re: Function to promote standby servers
Date
Msg-id 20181020044856.GE2553@paquier.xyz
Whole thread Raw
In response to Re: Function to promote standby servers  (Laurenz Albe <laurenz.albe@cybertec.at>)
Responses Re: Function to promote standby servers  (Michael Paquier <michael@paquier.xyz>)
List pgsql-hackers
On Sat, Oct 20, 2018 at 06:24:28AM +0200, Laurenz Albe wrote:
> Here is another version, with a fix in pg_proc.dat, an improved comment
> and "wait_seconds" exercised in the regression test.

Thanks for the new version.  This looks pretty good to me.  I'll see if
I can review it once and then commit.

> -    WAIT_EVENT_SYNC_REP
> +    WAIT_EVENT_SYNC_REP,
> +    WAIT_EVENT_PROMOTE
>  } WaitEventIPC;

Those are kept in alphabetical order.  Individual wait events are also
documented with a description.
--
Michael

Attachment

pgsql-hackers by date:

Previous
From: Michael Paquier
Date:
Subject: Re: pgsql: Add TAP tests for pg_verify_checksums
Next
From: Peter Geoghegan
Date:
Subject: Re: Making all nbtree entries unique by having heap TIDs participatein comparisons