Re: TAP test for recovery_end_command

Поиск
Список
Период
Сортировка
От Amul Sul
Тема Re: TAP test for recovery_end_command
Дата
Msg-id CAAJ_b96dwek4ZxRxj=tyBLKaifH3v9coinz4fA4w0iid4Q6tOA@mail.gmail.com
обсуждение исходный текст
Ответ на Re: TAP test for recovery_end_command  (Michael Paquier <michael@paquier.xyz>)
Список pgsql-hackers
On Mon, Sep 13, 2021 at 8:44 AM Michael Paquier <michael@paquier.xyz> wrote:
>
> On Sun, Sep 12, 2021 at 09:25:32PM -0300, Euler Taveira wrote:
> > On Thu, Sep 9, 2021, at 8:18 AM, Amul Sul wrote:
> >> Also, we don't have a good test for archive_cleanup_command as well, I
> >> am not sure how we could test that which executes with every
> >> restart-point.
> >
> > Setup a replica and stop it. It triggers a restartpoint during the shutdown.
>
> +$node_standby2->append_conf('postgresql.conf',
> +       "recovery_end_command='echo recovery_ended > $recovery_end_command_file'");
> This is not going to work on Windows.

Unfortunately, I don't have Windows, but my colleague Neha Sharma has
confirmed it works there.

Regards,
Amul



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

Предыдущее
От: Justin Pryzby
Дата:
Сообщение: document the need to analyze partitioned tables
Следующее
От: Paul A Jungwirth
Дата:
Сообщение: Re: SQL:2011 application time