pg.ddx.io  pgsql-committers@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Sergei Kornilov <sk@zsrv.org>
To: Stephen Frost <sfrost@snowman.net>
Cc: Michael Paquier <michael@paquier.xyz>
Cc: Peter Eisentraut <peter.eisentraut@2ndquadrant.com>
Cc: Postgres hackers <pgsql-hackers@postgresql.org>
Subject: Re: pgsql: Integrate recovery.conf into postgresql.conf
Date: Mon, 26 Nov 2018 21:34:38 +0300
Message-ID: <145311543257278@sas1-0a6c2e2b59d7.qloud-c.yandex.net> (raw)
In-Reply-To: <20181126172118.GY3415@tamriel.snowman.net>
References: <E1gQwex-0001Vd-OW@gemulon.postgresql.org>
	<20181126002849.GD1776@paquier.xyz>
	<27802171543235530@iva2-6ec8f0a6115e.qloud-c.yandex.net>
	<cd804d8f-0873-f81c-2420-2f1b0f99d889@2ndquadrant.com>
	<20181126131640.GD14598@paquier.xyz>
	<20181126151852.GW3415@tamriel.snowman.net>
	<29465041543250389@iva4-f774db2b5297.qloud-c.yandex.net>
	<20181126172118.GY3415@tamriel.snowman.net>

Hello

> I think I would have done 'if (targetSettingsCount != 1)' here.
Streaming replication does not have any recovery_target.
Well, i can check StandbyModeRequested too and allow 0 recovery_target only for standby mode.

>>  -# Multiple targets
>>  -# Last entry has priority (note that an array respects the order of items
>>  -# not hashes).
>
> You could (and imv should) include a test that throws an expected error
> if multiple targets are specified.
We have some example for checking unable-to-start DB? Did not find yet

> Let’s at least fix the currently committed patch before adding new features or changing how things in recovery work.
+1

regards, Sergei




view thread (29+ messages)  latest in thread

Message-ID: <145311543257278@sas1-0a6c2e2b59d7.qloud-c.yandex.net>
Permalink:  ../145311543257278@sas1-0a6c2e2b59d7.qloud-c.yandex.net/
Also on:    postgresql.org/message-id/145311543257278@sas1-0a6c2e2b59d7.qloud-c.yandex.net

 · 

reply

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-committers@postgresql.org
  Cc: sk@zsrv.org, sfrost@snowman.net, michael@paquier.xyz, peter.eisentraut@2ndquadrant.com, pgsql-hackers@postgresql.org
  Subject: Re: pgsql: Integrate recovery.conf into postgresql.conf
  In-Reply-To: <145311543257278@sas1-0a6c2e2b59d7.qloud-c.yandex.net>
  References: <E1gQwex-0001Vd-OW@gemulon.postgresql.org> <20181126002849.GD1776@paquier.xyz> <27802171543235530@iva2-6ec8f0a6115e.qloud-c.yandex.net> <cd804d8f-0873-f81c-2420-2f1b0f99d889@2ndquadrant.com> <20181126131640.GD14598@paquier.xyz> <20181126151852.GW3415@tamriel.snowman.net> <29465041543250389@iva4-f774db2b5297.qloud-c.yandex.net> <20181126172118.GY3415@tamriel.snowman.net> <145311543257278@sas1-0a6c2e2b59d7.qloud-c.yandex.net>

* 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