Re: Tidy recent code bloat in pg_creatersubscriber::cleanup_objects_atexit - Mailing list pgsql-hackers

From Michael Paquier
Subject Re: Tidy recent code bloat in pg_creatersubscriber::cleanup_objects_atexit
Date
Msg-id Z9axcAh153fFHWGW@paquier.xyz
Whole thread Raw
In response to Re: Tidy recent code bloat in pg_creatersubscriber::cleanup_objects_atexit  (Michael Paquier <michael@paquier.xyz>)
Responses Re: Tidy recent code bloat in pg_creatersubscriber::cleanup_objects_atexit
List pgsql-hackers
On Tue, Mar 11, 2025 at 04:06:14PM +0900, Michael Paquier wrote:
> Right.  This improves the clarity of the code, so agreed about the use
> of a local variable here.

More code paths of pg_createsubscriber.c have similar loops, but this
is the only one where LogicalRepInfo can be used.  So, applied as you
have suggested, without touching the other loops.
--
Michael

Attachment

pgsql-hackers by date:

Previous
From: Masahiko Sawada
Date:
Subject: Re: Add contrib/pg_logicalsnapinspect
Next
From: vignesh C
Date:
Subject: Re: Large expressions in indexes can't be stored (non-TOASTable)