Re: Fix 035_standby_logical_decoding.pl race conditions - Mailing list pgsql-hackers

From Bertrand Drouvot
Subject Re: Fix 035_standby_logical_decoding.pl race conditions
Date
Msg-id Z+0cLIB3B8s59sBn@ip-10-97-1-34.eu-west-3.compute.internal
Whole thread Raw
In response to Re: Fix 035_standby_logical_decoding.pl race conditions  (Amit Kapila <amit.kapila16@gmail.com>)
List pgsql-hackers
Hi,

On Wed, Apr 02, 2025 at 03:04:07PM +0530, Amit Kapila wrote:
> I have changed it based on your suggestions and made a few other
> changes in the comments. Please see attached.

Thanks!

> *
> +  if (IS_INJECTION_POINT_ATTACHED("log-running-xacts"))
> 
> It is better to name the injection point as skip-log-running-xacts as
> that will be appropriate based on its usage.

Agree.

+# Note that the injection_point avoids seeing a xl_running_xacts that could
and
+# Injection_point avoids seeing an xl_running_xacts even here. This is required

s/an xl_running_xacts/a xl_running_xacts/? in the second one? Also I'm not sure
"even here" is needed.

Apart from the above that LGTM.

Regards,

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



pgsql-hackers by date:

Previous
From: Amit Kapila
Date:
Subject: Re: Fix 035_standby_logical_decoding.pl race conditions
Next
From: Ashutosh Bapat
Date:
Subject: Re: pg_restore documentation and --create/--single-transaction limitation