Re: TAP test for recovery_end_command

From: Michael Paquier <michael(at)paquier(dot)xyz>
To: Amul Sul <sulamul(at)gmail(dot)com>
Cc: Andres Freund <andres(at)anarazel(dot)de>, Euler Taveira <euler(at)eulerto(dot)com>, PostgreSQL Hackers <pgsql-hackers(at)lists(dot)postgresql(dot)org>
Subject: Re: TAP test for recovery_end_command
Date: 2021-10-27 05:20:50
Message-ID: YXjhsmxfGJj00uG9@paquier.xyz
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

On Wed, Oct 27, 2021 at 10:32:22AM +0530, Amul Sul wrote:
> Thanks for the updated version. The patch is much better than before
> except needing minor changes to the test description that testing
> recovery_end_command_file before promotion, I did the same in the
> attached version.

ok(!-f $recovery_end_command_file,
- 'recovery_end_command executed after promotion');
+ 'recovery_end_command not executed yet');
Indeed :p
--
Michael

In response to

Responses

Browse pgsql-hackers by date

  From Date Subject
Next Message Amit Kapila 2021-10-27 05:43:17 Re: Skipping logical replication transactions on subscriber side
Previous Message Masahiko Sawada 2021-10-27 05:13:12 Re: Skipping logical replication transactions on subscriber side