Re: Function to promote standby servers

Michael Paquier <michael@paquier.xyz>

From: Michael Paquier <michael@paquier.xyz>
To: Ian Barwick <ian@2ndquadrant.com>
Cc: Laurenz Albe <laurenz.albe@cybertec.at>, Masahiko Sawada <sawada.mshk@gmail.com>, PostgreSQL-development <pgsql-hackers@postgresql.org>
Date: 2018-11-19T04:22:13Z
Lists: pgsql-hackers
On Fri, Oct 26, 2018 at 01:51:24PM +0900, Michael Paquier wrote:
> Or we could use "the function returns true immediately after initiating
> the promotion by sending the promotion signal to the postmaster"?  As a
> native speaker which one feels more natural to you?

Sorry for the time it took.  After pondering on it, I have committed the
improvements from your version.
--
Michael

Commits

  1. Rework documentation of pg_promote

  2. Add pg_promote function