From: | Andrey Borodin <x4mmm(at)yandex-team(dot)ru> |
---|---|
To: | Alexey Kondratov <a(dot)kondratov(at)postgrespro(dot)ru> |
Cc: | PostgreSQL-development <pgsql-hackers(at)postgresql(dot)org>, Dmitry Dolgov <9erthalion6(at)gmail(dot)com>, Michael Paquier <michael(at)paquier(dot)xyz>, Alvaro Herrera <alvherre(at)2ndquadrant(dot)com>, vladimirlesk(at)yandex-team(dot)ru, dsarafan(at)yandex-team(dot)ru |
Subject: | Re: [Patch] pg_rewind: options to use restore_command from recovery.conf or command line |
Date: | 2019-02-09 11:31:16 |
Message-ID: | 256C4870-411D-4195-B087-97D49BBA50FF@yandex-team.ru |
Views: | Raw Message | Whole Thread | Download mbox | Resend email |
Thread: | |
Lists: | pgsql-hackers |
Hi! Thanks for the next version!
> 8 февр. 2019 г., в 18:30, Alexey Kondratov <a(dot)kondratov(at)postgrespro(dot)ru> написал(а):
>
> On 21.01.2019 23:50, a(dot)kondratov(at)postgrespro(dot)ru wrote:
>> Thank you for the review! I have updated the patch according to your
>> comments and remarks. Please, find new version attached.
>
> During the self-reviewing of the code and tests, I discovered some problems with build on Windows. New version of the patch is attached and it fixes this issue as well as includes some minor code revisions.
I've made one more pass through code and found no important problems.
The patch moves code including these lines
* XXX this is an unmaintainable crock, because we have to know how to set
* (or at least what to call to set) every variable that could potentially
* have PGC_S_DYNAMIC_DEFAULT or PGC_S_ENV_VAR source. However, there's no
* time to redesign it for 9.1.
But I think it's not the point of this patch to refactor that code.
Here's a typo in postgreslq.conf
+ fprintf(stderr, _("%s: option -r/--use-postgresql-conf is specified, but postgreslq.conf is absent in the target directory\n"),
I'm still not sure guc-file refactoring you made is architecturally correct, I do not feel that my expertise is enough to judge, but everything works.
Besides this, I think you can switch patch to "Ready for committer".
check-world is passing on macbook, docs are here, feature is implemented and tested.
Best regards, Andrey Borodin.
From | Date | Subject | |
---|---|---|---|
Next Message | Amit Kapila | 2019-02-09 12:04:02 | Re: WIP: Avoid creation of the free space map for small tables |
Previous Message | Alexander Kuzmenkov | 2019-02-09 11:26:03 | Re: First-draft release notes for next week's releases |