From: | "Gunnar \"Nick\" Bluth" <gunnar(dot)bluth(at)pro-open(dot)de> |
---|---|
To: | Michael Banck <michael(dot)banck(at)credativ(dot)de> |
Cc: | Michael Paquier <michael(at)paquier(dot)xyz>, Daniel Gustafsson <daniel(at)yesql(dot)se>, Alexander Kukushkin <cyberdemn(at)gmail(dot)com>, Aleksander Alekseev <aleksander(at)timescale(dot)com>, "pgsql-hackers(at)lists(dot)postgresql(dot)org" <pgsql-hackers(at)lists(dot)postgresql(dot)org>, x4mmm(at)yandex-team(dot)ru, kondratovaleksey(at)gmail(dot)com |
Subject: | Re: PATCH: add "--config-file=" option to pg_rewind |
Date: | 2022-03-10 14:28:57 |
Message-ID: | 0573ee11-aa3e-9a0e-48bd-1ef2144bb961@pro-open.de |
Views: | Raw Message | Whole Thread | Download mbox | Resend email |
Thread: | |
Lists: | pgsql-hackers |
Am 10.03.22 um 14:43 schrieb Michael Banck:
> Heya,
>
> some minor comments, I didn't look at the added test and I did not test
> the patch at all, but (as part of the Debian/Ubuntu packaging team) I
> think this patch is really important:
Much appreciated!
[...]
> I think we usually just say "data directory"; pgdata was previously only
> used as part of the option name, not like this in the text.
Fixed.
[...]
> target-pgdata is the name of the option, but maybe it is useful to spell
> out "target data directory" here, even if that means we spill over to
> two lines (which we might have to do anyway, that new line is pretty
> long).
Fixed.
>
>> @@ -121,6 +123,7 @@ main(int argc, char **argv)
>> {"no-sync", no_argument, NULL, 'N'},
>> {"progress", no_argument, NULL, 'P'},
>> {"debug", no_argument, NULL, 3},
>> + {"config-file", required_argument, NULL, 5},
>
> Not sure what our policy is, but the way the numbered options are 1, 2,
> 4, 3, 5 after this is weird; this was already off before this patch
> though.
That one has been triggering my inner Monk too ;-)
Fixed!
[...]
> You removed an empty line here. Maybe rather prepend this with a comment
> on what's going on, and have en empty line before and afterwards.
> Kinde same here.
It does smell a bit like "stating the obvious", but alas! Both fixed.
Cheers,
--
Gunnar "Nick" Bluth
Eimermacherweg 106
D-48159 Münster
Mobil +49 172 8853339
Email: gunnar(dot)bluth(at)pro-open(dot)de
__________________________________________________________________________
"Ceterum censeo SystemD esse delendam" - Cato
Attachment | Content-Type | Size |
---|---|---|
add_configdir_to_pg_rewind_v6.patch | text/x-patch | 8.7 KB |
From | Date | Subject | |
---|---|---|---|
Next Message | Robert Haas | 2022-03-10 14:46:46 | Re: role self-revocation |
Previous Message | Ashutosh Sharma | 2022-03-10 13:51:54 | Re: [Proposal] Fully WAL logged CREATE DATABASE - No Checkpoints |