Re: PATCH: add "--config-file=" option to pg_rewind

Поиск
Список
Период
Сортировка
От Michael Paquier
Тема Re: PATCH: add "--config-file=" option to pg_rewind
Дата
Msg-id Yh2ej2/NuAXa6DyZ@paquier.xyz
обсуждение исходный текст
Ответ на Re: PATCH: add "--config-file=" option to pg_rewind  ("Gunnar \"Nick\" Bluth" <gunnar.bluth@pro-open.de>)
Ответы Re: PATCH: add "--config-file=" option to pg_rewind  ("Gunnar \"Nick\" Bluth" <gunnar.bluth@pro-open.de>)
Список pgsql-hackers
On Mon, Feb 28, 2022 at 08:48:23PM +0100, Gunnar "Nick" Bluth wrote:
> So, how should we call the global "find the ***** 'postgres' executable and
> boil out if that fails" function?
>     char postgres_exec_path[MAXPGPATH] = findPostgresExec();
> ?

That would mean only a couple of lines gained, and the readability
gained is minimal, so I'd be fine to keep the code as-is.  I am not
sure about the full patch set yet, but the refactoring of the commands
to use PQExpBuffer is good by itself, so I have extracted this part of
the patch and applied that for now.
--
Michael

Вложения

В списке pgsql-hackers по дате отправления:

Предыдущее
От: Tom Lane
Дата:
Сообщение: Re: Allow root ownership of client certificate key
Следующее
От: Paul Jungwirth
Дата:
Сообщение: Re: range_agg with multirange inputs