Re: Small and unaffected typo in pg_logical_slot_get_changes_guts() - Mailing list pgsql-hackers

From Kasahara Tatsuhito
Subject Re: Small and unaffected typo in pg_logical_slot_get_changes_guts()
Date
Msg-id CAP0=ZV+eCAsrktQnrnh4mOXBkOU8KQEritG_vtxmOyVYMu6D1A@mail.gmail.com
Whole thread Raw
In response to Re: Small and unaffected typo in pg_logical_slot_get_changes_guts()  (Michael Paquier <michael@paquier.xyz>)
Responses Re: Small and unaffected typo in pg_logical_slot_get_changes_guts()
List pgsql-hackers
Hi !

2022年2月16日(水) 11:42 Michael Paquier <michael@paquier.xyz>:
>
> On Wed, Feb 16, 2022 at 11:27:58AM +0900, Kasahara Tatsuhito wrote:
> > Since commit dd04e958c8b03c0f0512497651678c7816af3198,
> > tuplestore_donestoring() seems to be left only for compatibility, so
> > it looks like it can be removed from the core code, except for the
> > header (tuplestore.h).
>
> FWIW, it looks sensible to me to just do the cleanup you are
> suggesting here on HEAD, aka keeping the compatibility macro in the
> header, but wiping out any references of it in the C code.  That
> reduces the chances of copy-pasting it around for no effect.  Would
> you like to write a patch?
Thanks for the reply. The patch is attached.
Remove all references to tuplestore_donestoring() except for the header.

Best regards,

--
Tatsuhito Kasahara
kasahara.tatsuhito _at_ gmail.com

Attachment

pgsql-hackers by date:

Previous
From: Andres Freund
Date:
Subject: Re: USE_BARRIER_SMGRRELEASE on Linux?
Next
From: Michael Paquier
Date:
Subject: Re: Rewriting the test of pg_upgrade as a TAP test - take three - remastered set