From: Sergei Kornilov <sk@zsrv.org>
To: Peter Eisentraut <peter.eisentraut@2ndquadrant.com>
To: Michael Paquier <michael@paquier.xyz>
Cc: Postgres hackers <pgsql-hackers@postgresql.org>
Subject: Re: pgsql: Integrate recovery.conf into postgresql.conf
Date: Mon, 26 Nov 2018 16:22:56 +0300
Message-ID: <16874231543238576@iva4-24c534b4e3ac.qloud-c.yandex.net> (raw)
In-Reply-To: <cd804d8f-0873-f81c-2420-2f1b0f99d889@2ndquadrant.com>
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>
Hi
> What is the reason for allowing multiple recovery_target_* settings and
> taking the last one? Could we change this aspect to make this behave
> better?
Correct response to user configuration, similar to old recovery.conf logic or other GUC - we allow redefine with rule "latest win".
I think we can disallow using multiple recovery_target_* settings. But currently i have no good idea how this check can be done in check_* callbacks.
regards, Sergei
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, peter.eisentraut@2ndquadrant.com, michael@paquier.xyz, pgsql-hackers@postgresql.org
Subject: Re: pgsql: Integrate recovery.conf into postgresql.conf
In-Reply-To: <16874231543238576@iva4-24c534b4e3ac.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> <16874231543238576@iva4-24c534b4e3ac.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