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
- v12-0000-Replace-__builtin_types_compatible_p-with-_Gener.patch (text/x-patch) patch v12-0000
- v12-0001-Add-hash_make-macros.patch (text/x-patch) patch v12-0001
- v12-0002-Add-foreach_hash-macro.patch (text/x-patch) patch v12-0002
- v12-0003-Use-hash_make-macros-throughout-the-codebase.patch (text/x-patch) patch v12-0003
- v12-0004-Use-foreach_hash-macro-throughout-the-codebase.patch (text/x-patch) patch v12-0004
- v12-0005-Inline-functions-that-have-now-become-trivial.patch (text/x-patch) patch v12-0005
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