> On Dec 2, 2026, at 14:21, Tristan Su <sooqing(at)gmail(dot)com> wrote:
>
> Hi,
>
> Thanks for the reviews. v2 removes the redundant NULL initialization
> of src (Chao Li) and moves the slot existence check before taking the
> slot spinlock, dropping the conditional copy (Hayato Kuroda).
>
> I kept SlotIsPhysical() for the plugin column: it tests the slot type
> directly, while an empty plugin is only a consequence of that type.
>
> No functional change. make check passes; pgindent is clean.
>
> Regards,
> Tristan Su
> <v2-0001-Reuse-slot-helpers-in-pg_get_replication_slots-an.patch>
Hi Tristan,
Please don’t start a new email thread for a revision of an existing patch. I saw that you’ve already replied to the original thread with v2, which is good enough. Let’s discard this new thread.
Best regards,
--
Chao Li (Evan)
HighGo Software Co., Ltd.
https://www.highgo.com/