On Tue, 3 Nov 2026 at 09:38, shihao zhong <[email protected]> wrote: > > Hi Vignesh, > > Thanks for catching this, and for the test. It fails on v1 as you > describe. > > v2 drops the flag. _hash_alloc_buckets() now extends the file before > writing the WAL record, so a checkpoint either replays the record or > syncs the new block. > > ^^^^ is aligned with current heap extend behavior. Another way is to > use PG_TRY and FINALLY to reset the flag. I prefer to use > same mechanism because it is easy to understand in the future. > > 0001 and 0002 are unchanged.
The issue reported at [1] has not yet been fixed right? Just checking to confirm it is not lost in the discussion. [1] - https://www.postgresql.org/message-id/CALDaNm1%2BSiZ9SGt%3DX9KpOAx4vG8ZjrsXSq1o4nEiP7C_%3DNDGnA%40mail.gmail.com Regards, Vignesh
