Re: TAP test for recovery_end_command

Поиск
Список
Период
Сортировка
От Michael Paquier
Тема Re: TAP test for recovery_end_command
Дата
Msg-id YXoCwLYC7ZlYGa1t@paquier.xyz
обсуждение исходный текст
Ответ на Re: TAP test for recovery_end_command  (Michael Paquier <michael@paquier.xyz>)
Ответы Re: TAP test for recovery_end_command  (Amul Sul <sulamul@gmail.com>)
Список pgsql-hackers
On Wed, Oct 27, 2021 at 02:20:50PM +0900, Michael Paquier wrote:
>  ok(!-f $recovery_end_command_file,
> -   'recovery_end_command executed after promotion');
> +   'recovery_end_command not executed yet');
> Indeed :p

While looking at that this morning, I have noticed an extra bug.  If
the path of the data folder included a space, the command would have
failed.  I have to wonder if we should do something like
cp_history_files, but that did not seem necessary to me once we rely
on each command being executed from the root of the data folder.

Anyway, I am curious to see what the buildfarm thinks about all that,
particularly with Msys, so I have applied the patch.  I am keeping an
eye on things, though.
--
Michael

Вложения

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

Предыдущее
От: Kyotaro Horiguchi
Дата:
Сообщение: Re: Isn't it better with "autovacuum worker...." instead of "worker took too long to start; canceled" specific to "auto
Следующее
От: Michael Paquier
Дата:
Сообщение: Re: [PATCH] Fix memory corruption in pg_shdepend.c