Re: Missing import in 035_standby_logical_decoding.pl

From: Bertrand Drouvot <bertranddrouvot(dot)pg(at)gmail(dot)com>
To: Melanie Plageman <melanieplageman(at)gmail(dot)com>
Cc: PostgreSQL Hackers <pgsql-hackers(at)lists(dot)postgresql(dot)org>, Masahiko Sawada <sawada(dot)mshk(at)gmail(dot)com>, Andres Freund <andres(at)anarazel(dot)de>, Amit Kapila <amit(dot)kapila16(at)gmail(dot)com>, Michael Paquier <michael(at)paquier(dot)xyz>
Subject: Re: Missing import in 035_standby_logical_decoding.pl
Date: 2025-08-04 07:49:50
Message-ID: aJBmHsOQ3IgOADaY@ip-10-97-1-34.eu-west-3.compute.internal
Views: Whole Thread | Raw Message | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

Hi,

On Fri, Aug 01, 2025 at 04:57:50PM -0400, Melanie Plageman wrote:
> On Fri, Aug 1, 2025 at 3:04 PM Melanie Plageman
> <melanieplageman(at)gmail(dot)com> wrote:
> >
> > 035_standby_logical_decoding.pl has this code
>
> Another issue I see is that there are two incorrect tests for a log message
>
> # message should not be issued
> ok( !$node_standby->log_contains(
> "invalidating obsolete slot \"no_conflict_inactiveslot\"", $logstart),
> 'inactiveslot slot invalidation is not logged with vacuum on conflict_test'
> );
>
> ok( !$node_standby->log_contains(
> "invalidating obsolete slot \"no_conflict_activeslot\"", $logstart),
> 'activeslot slot invalidation is not logged with vacuum on conflict_test'
> );
>
> This will never fail because the message string is actually
> "invalidating obsolete replication slot"
>
> It is correctly specified elsewhere in the same test.
> so, that should be fixed too.

Thanks for the report! Indeed, fixed in 0001 just shared up-thread.

Regards,

--
Bertrand Drouvot
PostgreSQL Contributors Team
RDS Open Source Databases
Amazon Web Services: https://aws.amazon.com

In response to

Browse pgsql-hackers by date

  From Date Subject
Next Message Bertrand Drouvot 2025-08-04 07:51:58 Re: Missing import in 035_standby_logical_decoding.pl
Previous Message Bertrand Drouvot 2025-08-04 07:49:14 Re: Missing import in 035_standby_logical_decoding.pl