Re: Use allocation macros in the logical replication code
Chao Li <li.evan.chao@gmail.com>
From: Chao Li <li.evan.chao@gmail.com>
To: Peter Smith <smithpb2250@gmail.com>
Cc: PostgreSQL Hackers <pgsql-hackers@lists.postgresql.org>
Date: 2026-02-04T01:04:57Z
Lists: 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/
Commits
-
Use palloc_object() and palloc_array() in more areas of the logical replication.
- 50ea4e09b6c2 19 (unreleased) landed