Re: Safer hash table initialization macro

Jelte Fennema <postgres@jeltef.nl>

From: "Jelte Fennema-Nio" <postgres@jeltef.nl>
To: "Chao Li" <li.evan.chao@gmail.com>
Cc: "Bertrand Drouvot" <bertranddrouvot.pg@gmail.com>, "Thomas Munro" <thomas.munro@gmail.com>, <pgsql-hackers@lists.postgresql.org>
Date: 2026-03-18T10:52:02Z
Lists: pgsql-hackers

Attachments

On Sat, 14 Mar 2026 at 14:48, Jelte Fennema-Nio <postgres@jeltef.nl> wrote:
> Newly attached version that fixes a rebase conclict.

v12 attached builds on top of the patch I suggested in[1] (that patch is
icluded here as 0000). Also I added some tests for the new macros to the
test_cplusplusext test module.

[1] https://www.postgresql.org/message-id/CA+hUKGL7trhWiJ4qxpksBztMMTWDyPnP1QN+Lq341V7QL775DA@mail.gmail.com