| From: | "Jelte Fennema-Nio" <postgres(at)jeltef(dot)nl> |
|---|---|
| To: | "Chao Li" <li(dot)evan(dot)chao(at)gmail(dot)com> |
| Cc: | "Bertrand Drouvot" <bertranddrouvot(dot)pg(at)gmail(dot)com>, "Thomas Munro" <thomas(dot)munro(at)gmail(dot)com>, <pgsql-hackers(at)lists(dot)postgresql(dot)org> |
| Subject: | Re: Safer hash table initialization macro |
| Date: | 2026-04-02 14:20:22 |
| Message-ID: | DHIQH8KR2KWH.1F5I516YAKDJA@jeltef.nl |
| Views: | Whole Thread | Raw Message | Download mbox | Resend email |
| Thread: | |
| Lists: | pgsql-hackers |
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(at)jeltef(dot)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.
| Attachment | Content-Type | Size |
|---|---|---|
| v13-0000-Replace-__builtin_types_compatible_p-with-_Gener.patch | text/x-patch | 11.2 KB |
| v13-0001-Add-hash_make-macros.patch | text/x-patch | 17.1 KB |
| v13-0002-Add-foreach_hash-macro.patch | text/x-patch | 4.5 KB |
| v13-0003-Use-hash_make-macros-throughout-the-codebase.patch | text/x-patch | 96.3 KB |
| v13-0004-Use-foreach_hash-macro-throughout-the-codebase.patch | text/x-patch | 77.0 KB |
| v13-0005-Inline-functions-that-have-now-become-trivial.patch | text/x-patch | 4.5 KB |
| From | Date | Subject | |
|---|---|---|---|
| Next Message | Andres Freund | 2026-04-02 14:31:48 | Re: LLVM 22 |
| Previous Message | Andres Freund | 2026-04-02 14:15:55 | Re: Reduce timing overhead of EXPLAIN ANALYZE using rdtsc? |