Re: Use allocation macros in the logical replication code

From: Chao Li <li(dot)evan(dot)chao(at)gmail(dot)com>
To: Peter Smith <smithpb2250(at)gmail(dot)com>
Cc: PostgreSQL Hackers <pgsql-hackers(at)lists(dot)postgresql(dot)org>
Subject: Re: Use allocation macros in the logical replication code
Date: 2026-02-04 01:04:57
Message-ID: F3E9AE44-E514-4923-99C9-87B617A5BC5B@gmail.com
Views: Whole Thread | Raw Message | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

> On Feb 4, 2026, at 08:14, Peter Smith <smithpb2250(at)gmail(dot)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/

In response to

Browse pgsql-hackers by date

  From Date Subject
Next Message Shinya Kato 2026-02-04 01:06:28 Re: Add LIMIT option to COPY FROM
Previous Message Masahiko Sawada 2026-02-04 00:54:57 Re: [PATCH] Add max_logical_replication_slots GUC