pg.ddx.io pgsql-committers@postgresql.org mailing list archive
help / color / mirror / Atom feedpgsql: Allow some recovery parameters to be changed with reload
7+ messages / 6 participants
[nested] [flat]
* pgsql: Allow some recovery parameters to be changed with reload
@ 2019-02-07 07:52 Peter Eisentraut <peter@eisentraut.org>
0 siblings, 1 reply; 7+ messages in thread
From: Peter Eisentraut @ 2019-02-07 07:52 UTC (permalink / raw)
To: pgsql-committers@lists.postgresql.org
Allow some recovery parameters to be changed with reload
Change
archive_cleanup_command
promote_trigger_file
recovery_end_command
recovery_min_apply_delay
from PGC_POSTMASTER to PGC_SIGHUP. This did not require any further
changes.
Reviewed-by: Michael Paquier <michael@paquier.xyz>
Discussion: https://www.postgresql.org/message-id/flat/ca28011a-cfaa-565c-d622-c1907c33ecf7%402ndquadrant.com
Branch
------
master
Details
-------
https://git.postgresql.org/pg/commitdiff/13b89f96d07ad3da67b57f66c134c3609bd3e98f
Modified Files
--------------
doc/src/sgml/config.sgml | 21 +++++++++++++++++----
src/backend/utils/misc/guc.c | 8 ++++----
src/backend/utils/misc/postgresql.conf.sample | 4 ----
3 files changed, 21 insertions(+), 12 deletions(-)
^ permalink raw reply [nested|flat] 7+ messages in thread
* Re: pgsql: Allow some recovery parameters to be changed with reload
@ 2019-02-08 07:45 Michael Paquier <michael@paquier.xyz>
parent: Peter Eisentraut <peter@eisentraut.org>
0 siblings, 2 replies; 7+ messages in thread
From: Michael Paquier @ 2019-02-08 07:45 UTC (permalink / raw)
To: Peter Eisentraut <peter@eisentraut.org>; +Cc: pgsql-committers@lists.postgresql.org
On Thu, Feb 07, 2019 at 07:52:13AM +0000, Peter Eisentraut wrote:
> Allow some recovery parameters to be changed with reload
>
> Change
>
> archive_cleanup_command
> promote_trigger_file
> recovery_end_command
> recovery_min_apply_delay
>
> from PGC_POSTMASTER to PGC_SIGHUP. This did not require any further
> changes.
The timestamp of this commit is a bit messed up:
commit: 13b89f96d07ad3da67b57f66c134c3609bd3e98f
author: Peter Eisentraut <peter@eisentraut.org>
date: Mon, 4 Feb 2019 09:28:17 +0100
committer: Peter Eisentraut <peter@eisentraut.org>
date: Thu, 7 Feb 2019 08:34:48 +0100
Perhaps you overlooked a --reset-author switch?
--
Michael
Attachments:
signature.asc (application/pgp-signature, 832B) download
^ permalink raw reply [nested|flat] 7+ messages in thread
* Re: pgsql: Allow some recovery parameters to be changed with reload
@ 2019-02-08 15:42 Alvaro Herrera <alvherre@2ndquadrant.com>
parent: Michael Paquier <michael@paquier.xyz>
1 sibling, 1 reply; 7+ messages in thread
From: Alvaro Herrera @ 2019-02-08 15:42 UTC (permalink / raw)
To: Michael Paquier <michael@paquier.xyz>; +Cc: Peter Eisentraut <peter@eisentraut.org>; pgsql-committers@lists.postgresql.org
On 2019-Feb-08, Michael Paquier wrote:
> The timestamp of this commit is a bit messed up:
> commit: 13b89f96d07ad3da67b57f66c134c3609bd3e98f
> author: Peter Eisentraut <peter@eisentraut.org>
> date: Mon, 4 Feb 2019 09:28:17 +0100
> committer: Peter Eisentraut <peter@eisentraut.org>
> date: Thu, 7 Feb 2019 08:34:48 +0100
>
> Perhaps you overlooked a --reset-author switch?
I don't think we actually have a rule about these timestamps, and I
don't think we really care, do we?
--
Álvaro Herrera https://www.2ndQuadrant.com/
PostgreSQL Development, 24x7 Support, Remote DBA, Training & Services
^ permalink raw reply [nested|flat] 7+ messages in thread
* Re: pgsql: Allow some recovery parameters to be changed with reload
@ 2019-02-08 15:47 Peter Eisentraut <peter.eisentraut@2ndquadrant.com>
parent: Michael Paquier <michael@paquier.xyz>
1 sibling, 0 replies; 7+ messages in thread
From: Peter Eisentraut @ 2019-02-08 15:47 UTC (permalink / raw)
To: Michael Paquier <michael@paquier.xyz>; +Cc: pgsql-committers@lists.postgresql.org
On 08/02/2019 08:45, Michael Paquier wrote:
> The timestamp of this commit is a bit messed up:
Where you say "a bit messed up" one might also say "accurately
reflecting history". :)
--
Peter Eisentraut http://www.2ndQuadrant.com/
PostgreSQL Development, 24x7 Support, Remote DBA, Training & Services
^ permalink raw reply [nested|flat] 7+ messages in thread
* Re: pgsql: Allow some recovery parameters to be changed with reload
@ 2019-02-08 16:31 Tom Lane <tgl@sss.pgh.pa.us>
parent: Alvaro Herrera <alvherre@2ndquadrant.com>
0 siblings, 1 reply; 7+ messages in thread
From: Tom Lane @ 2019-02-08 16:31 UTC (permalink / raw)
To: Alvaro Herrera <alvherre@2ndquadrant.com>; +Cc: Michael Paquier <michael@paquier.xyz>; Peter Eisentraut <peter@eisentraut.org>; pgsql-committers@lists.postgresql.org
Alvaro Herrera <alvherre@2ndquadrant.com> writes:
> On 2019-Feb-08, Michael Paquier wrote:
>> The timestamp of this commit is a bit messed up:
>> commit: 13b89f96d07ad3da67b57f66c134c3609bd3e98f
>> author: Peter Eisentraut <peter@eisentraut.org>
>> date: Mon, 4 Feb 2019 09:28:17 +0100
>> committer: Peter Eisentraut <peter@eisentraut.org>
>> date: Thu, 7 Feb 2019 08:34:48 +0100
>>
>> Perhaps you overlooked a --reset-author switch?
> I don't think we actually have a rule about these timestamps, and I
> don't think we really care, do we?
Yeah, if you want to see a sequence of dates that makes sense,
you need to look at the commit-date. Whether the author-date
closely matches that depends on the particular committer's
workflow.
regards, tom lane
^ permalink raw reply [nested|flat] 7+ messages in thread
* Re: pgsql: Allow some recovery parameters to be changed with reload
@ 2019-02-09 18:35 Stephen Frost <sfrost@snowman.net>
parent: Tom Lane <tgl@sss.pgh.pa.us>
0 siblings, 1 reply; 7+ messages in thread
From: Stephen Frost @ 2019-02-09 18:35 UTC (permalink / raw)
To: Tom Lane <tgl@sss.pgh.pa.us>; +Cc: Alvaro Herrera <alvherre@2ndquadrant.com>; Michael Paquier <michael@paquier.xyz>; Peter Eisentraut <peter@eisentraut.org>; pgsql-committers@lists.postgresql.org
Greetings,
* Tom Lane (tgl@sss.pgh.pa.us) wrote:
> Alvaro Herrera <alvherre@2ndquadrant.com> writes:
> > On 2019-Feb-08, Michael Paquier wrote:
> >> The timestamp of this commit is a bit messed up:
> >> commit: 13b89f96d07ad3da67b57f66c134c3609bd3e98f
> >> author: Peter Eisentraut <peter@eisentraut.org>
> >> date: Mon, 4 Feb 2019 09:28:17 +0100
> >> committer: Peter Eisentraut <peter@eisentraut.org>
> >> date: Thu, 7 Feb 2019 08:34:48 +0100
> >>
> >> Perhaps you overlooked a --reset-author switch?
>
> > I don't think we actually have a rule about these timestamps, and I
> > don't think we really care, do we?
>
> Yeah, if you want to see a sequence of dates that makes sense,
> you need to look at the commit-date. Whether the author-date
> closely matches that depends on the particular committer's
> workflow.
While I agree that we don't really have a formal policy, there are
certainly some who do (or, at least did) seem to care quite a bit about
this and that's why I've been using '--ignore-date' for quite some time
in my workflow:
https://www.postgresql.org/message-id/CA%2BTgmobEgs1%3DAT0_SRvf6K9XrG7QAUyRNeuv5D9oaXrmpST9fw%40mail...
Thanks!
Stephen
Attachments:
signature.asc (application/pgp-signature, 818B) download
^ permalink raw reply [nested|flat] 7+ messages in thread
* Re: pgsql: Allow some recovery parameters to be changed with reload
@ 2019-02-12 03:38 Michael Paquier <michael@paquier.xyz>
parent: Stephen Frost <sfrost@snowman.net>
0 siblings, 0 replies; 7+ messages in thread
From: Michael Paquier @ 2019-02-12 03:38 UTC (permalink / raw)
To: Stephen Frost <sfrost@snowman.net>; +Cc: Tom Lane <tgl@sss.pgh.pa.us>; Alvaro Herrera <alvherre@2ndquadrant.com>; Peter Eisentraut <peter@eisentraut.org>; pgsql-committers@lists.postgresql.org
On Sat, Feb 09, 2019 at 01:35:52PM -0500, Stephen Frost wrote:
> While I agree that we don't really have a formal policy, there are
> certainly some who do (or, at least did) seem to care quite a bit about
> this and that's why I've been using '--ignore-date' for quite some time
> in my workflow:
>
> https://www.postgresql.org/message-id/CA%2BTgmobEgs1%3DAT0_SRvf6K9XrG7QAUyRNeuv5D9oaXrmpST9fw%40mail...
I have messed up that one time in the last and I have noticed that
folks care about that, so I try to be careful and I use
--reset-author. Now one reason why I got confused is that I had this
git alias to show a simple graph of the git commits:
- graph = log --graph --date-order -C -M --pretty=format:\"<%h> %ad [%an] %Cgreen%d%Creset %s\" --all --date=short
+ graph = log --graph --date-order -C -M --pretty=format:\"<%h> %cd [%cn] %Cgreen%d%Creset %s\" --all --date=short
%ad and %an stand respectively for the author date and the author
name, and moving to %cd and $cn for the commit date and the committer
name is one way to improve things.
--
Michael
Attachments:
signature.asc (application/pgp-signature, 832B) download
^ permalink raw reply [nested|flat] 7+ messages in thread
end of thread, other threads:[~2019-02-12 03:38 UTC | newest]
Thread overview: 7+ messages (download: mbox mbox.gz follow: Atom feed)
-- links below jump to the message on this page --
2019-02-07 07:52 pgsql: Allow some recovery parameters to be changed with reload Peter Eisentraut <peter@eisentraut.org>
2019-02-08 07:45 ` Michael Paquier <michael@paquier.xyz>
2019-02-08 15:42 ` Alvaro Herrera <alvherre@2ndquadrant.com>
2019-02-08 16:31 ` Tom Lane <tgl@sss.pgh.pa.us>
2019-02-09 18:35 ` Stephen Frost <sfrost@snowman.net>
2019-02-12 03:38 ` Michael Paquier <michael@paquier.xyz>
2019-02-08 15:47 ` Peter Eisentraut <peter.eisentraut@2ndquadrant.com>
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