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-04-02T14:20:22Z
Lists: pgsql-hackers
Attachments
- v13-0000-Replace-__builtin_types_compatible_p-with-_Gener.patch (text/x-patch) patch v13-0000
- v13-0001-Add-hash_make-macros.patch (text/x-patch) patch v13-0001
- v13-0002-Add-foreach_hash-macro.patch (text/x-patch) patch v13-0002
- v13-0003-Use-hash_make-macros-throughout-the-codebase.patch (text/x-patch) patch v13-0003
- v13-0004-Use-foreach_hash-macro-throughout-the-codebase.patch (text/x-patch) patch v13-0004
- v13-0005-Inline-functions-that-have-now-become-trivial.patch (text/x-patch) patch v13-0005
On Wed Mar 18, 2026 at 11:52 AM CET, Jelte Fennema-Nio wrote: > 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. Rebased on top of the latest master. Sadly the new hash_make macros are failing to compile on C++ on MSVC 2019. I'll investigate later what we can do about that.