| От | Tom Lane |
|---|---|
| Тема | Re: Continue work on changes to recovery.conf API |
| Дата | |
| Msg-id | 1902.1538167549@sss.pgh.pa.us обсуждение |
| Ответ на | Re: Continue work on changes to recovery.conf API (Andres Freund <andres@anarazel.de>) |
| Список | pgsql-hackers |
Andres Freund <andres@anarazel.de> writes:
> On 2018-09-28 16:36:35 -0400, Tom Lane wrote:
>> No, they MUST be independently verifiable. The interactions between
>> the check_xxx functions in this patch are utterly unsafe. We've
>> learned that lesson before.
> I'm not sure those concerns apply quite the same way here - we can move
> the interdependent verification to the the point where they're used
> first rather than relying on guc.c infrastructure.
And, if they're bad, what happens? Recovery fails?
I don't think it's a great idea to lose out on whatever error checking
the existing GUC infrastructure can provide, just so as to use a GUC
design that's not very nice in the first place.
regards, tom lane
В списке pgsql-hackers по дате отправления:
Сайт использует файлы cookie для корректной работы и повышения удобства. Нажимая кнопку «Принять» или продолжая пользоваться сайтом, вы соглашаетесь на их использование в соответствии с Политикой в отношении обработки cookie ООО «ППГ», в том числе на передачу данных из файлов cookie сторонним статистическим и рекламным службам. Вы можете управлять настройками cookie через параметры вашего браузера