From: Michael Paquier <michael@paquier.xyz>
To: Martín Fernández <fmartin91@gmail.com>
Cc: Laurenz Albe <laurenz.albe@cybertec.at>
Cc: pgsql-generallists.postgresql.org <pgsql-general@lists.postgresql.org>
Subject: Re: Promote replica before being able to accept connections
Date: Tue, 12 Feb 2019 12:17:33 +0900
Message-ID: <20190212031733.GG1475@paquier.xyz> (raw)
In-Reply-To: <5c618d9da914d363cd000005@polymail.io>
References: <950236c827942575381949675e8ad709a38ca771.camel@cybertec.at>
<5c618d9da914d363cd000005@polymail.io>
On Mon, Feb 11, 2019 at 06:59:27AM -0800, Martín Fernández wrote:
> That makes sense!
>
> Thanks for the quick reply
Note that PostgreSQL 9.4 has introduced a new parameter in
recovery.conf that allows recovery to finish exactly when a consistent
state has been reached:
recovery_target = 'immediate'
So that's basically what you are looking for. Now you are on 9.2, and
new features are not back-ported.
--
Michael
Attachments:
signature.asc (application/pgp-signature, 832B) download
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Reply to all the recipients from your mail client; the link fills in
the headers below: reply via email
Some clients, webmail especially, drop In-Reply-To and References from
a link, and the reply then starts a new thread: use the mbox below.
To: pgsql-general@postgresql.org
Cc: michael@paquier.xyz, fmartin91@gmail.com, laurenz.albe@cybertec.at
Subject: Re: Promote replica before being able to accept connections
In-Reply-To: <20190212031733.GG1475@paquier.xyz>
References: <950236c827942575381949675e8ad709a38ca771.camel@cybertec.at> <5c618d9da914d363cd000005@polymail.io> <20190212031733.GG1475@paquier.xyz>
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox