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: Tue, 27 Nov 2018 00:19:55 +0300
Message-ID: <459131543267195@sas1-4b7566131ec9.qloud-c.yandex.net> (raw)
In-Reply-To: <20181126204855.GA3415@tamriel.snowman.net>
References: <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>
	<20181126191253.GZ3415@tamriel.snowman.net>
	<457381543264217@iva5-84bc572481fe.qloud-c.yandex.net>
	<20181126204855.GA3415@tamriel.snowman.net>

Hi

> I'd encourage you to look through the diff after you're finished hacking
> before sending it to the list, in case things get left in that should be
> removed, as below...
I am so sorry. I have a look before sending, but...
It's night in my timezone. I will fix tomorrow.

>>  + if (targetSettingsCount > 1)
>>  + ereport(FATAL,
>>  + (errcode(ERRCODE_INVALID_PARAMETER_VALUE),
>>  + errmsg("can not specify multiple recovery targets")));
>
> Doesn't look like you changed this based on my prior comment..?
Do you mean this one?
> I think I would have done 'if (targetSettingsCount != 1)' here.
To be sure, we need check we have one recovery target without standby mode and none or one in standby mode? Or some another check?

regards, Sergei




view thread (29+ messages)  latest in thread

Message-ID: <459131543267195@sas1-4b7566131ec9.qloud-c.yandex.net>
Permalink:  ../459131543267195@sas1-4b7566131ec9.qloud-c.yandex.net/
Also on:    postgresql.org/message-id/459131543267195@sas1-4b7566131ec9.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: <459131543267195@sas1-4b7566131ec9.qloud-c.yandex.net>
  References: <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> <20181126191253.GZ3415@tamriel.snowman.net> <457381543264217@iva5-84bc572481fe.qloud-c.yandex.net> <20181126204855.GA3415@tamriel.snowman.net> <459131543267195@sas1-4b7566131ec9.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