Re: Safer hash table initialization macro - Mailing list pgsql-hackers

From Jelte Fennema-Nio
Subject Re: Safer hash table initialization macro
Date
Msg-id DH2JWULUT35M.30495YAOMRR56@jeltef.nl
Whole thread Raw
In response to Re: Safer hash table initialization macro  ("Jelte Fennema-Nio" <postgres@jeltef.nl>)
Responses Re: Safer hash table initialization macro
List pgsql-hackers
On Tue Jan 27, 2026 at 7:10 PM CET, Jelte Fennema-Nio wrote:
> Good suggestion. Done.

Newly attached version that fixes a rebase conclict. Including a few
small additions:

1. Use foreach_hash in async.c (in recently introduced code from
   282b1cde9ded)
2. Reference foreach_hash in code comments instead of hash_seq_search
3. Add a note about the reason for the double for loop in foreach_hash
   macro code comment (same comment as for foreach_internal in
   pg_list.h)


Attachment

pgsql-hackers by date:

Previous
From: "Jelte Fennema-Nio"
Date:
Subject: Re: Change copyObject() to use typeof_unqual
Next
From: "Jelte Fennema-Nio"
Date:
Subject: Re: RFC: adding pytest as a supported test framework