Re: Safer hash table initialization macro

2025-12-03 Thread Bertrand Drouvot
Hi, On Mon, Dec 01, 2025 at 03:44:41PM +0100, Jelte Fennema-Nio wrote: > On Mon, 1 Dec 2025 at 14:45, Bertrand Drouvot > wrote: > > Thoughts? > > I think the hashtable creation API in postgres is so terrible that it > actively discourages usage. Thanks for sharing your thoughts! > So I'm defin

Re: Safer hash table initialization macro

2025-12-01 Thread Jelte Fennema-Nio
On Mon, 1 Dec 2025 at 14:45, Bertrand Drouvot wrote: > Thoughts? I think the hashtable creation API in postgres is so terrible that it actively discourages usage. At Citus we definitely had the problem that we would use Lists for cases where a hashtable was preferable perf wise, just because the