Re: Use allocation macros in the logical replication code - Mailing list pgsql-hackers

From Chao Li
Subject Re: Use allocation macros in the logical replication code
Date
Msg-id F3E9AE44-E514-4923-99C9-87B617A5BC5B@gmail.com
Whole thread Raw
In response to Use allocation macros in the logical replication code  (Peter Smith <smithpb2250@gmail.com>)
List pgsql-hackers

> On Feb 4, 2026, at 08:14, Peter Smith <smithpb2250@gmail.com> wrote:
>
> Hi,
>
> Here is a patch that modifies some allocation code to make use of the
> appropriate macros.
>
> Scope: src/backend/replication/logical/*
>
> PSA v1
>
> ======
> Kind Regards,
> Peter Smith.
> Fujitsu Australia
> <v1-0001-use-alloc-macros-in-logical-replication-code.patch>

LGTM.

BTW, I have a similar patch [1] there more than a month.

[1] https://www.postgresql.org/message-id/CAEoWx2m1Vo97Jg9%3DK7JAZ0xdkg5D%3DGkgOxZR1%3DEW7mUfy008fw%40mail.gmail.com

Best regards,
--
Chao Li (Evan)
HighGo Software Co., Ltd.
https://www.highgo.com/







pgsql-hackers by date:

Previous
From: Masahiko Sawada
Date:
Subject: Re: [PATCH] Add max_logical_replication_slots GUC
Next
From: Shinya Kato
Date:
Subject: Re: Add LIMIT option to COPY FROM