Release and unpin buffers after leaving CRIT section in GIN.

From: Kirill Reshke <reshkekirill(at)gmail(dot)com>
To: pgsql-hackers <pgsql-hackers(at)postgresql(dot)org>
Subject: Release and unpin buffers after leaving CRIT section in GIN.
Date: 2026-02-17 09:58:24
Message-ID: CALdSSPgBPnpNNzxv0Y+_GNFzW6PmzRZYh+_hpf06Y1N2zLhZaQ@mail.gmail.com
Views: Whole Thread | Raw Message | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

Hi
I have stopped $subj while doing unrelated hacking today.
transam/README suggest following for WAL-logging changes:

...

6. END_CRIT_SECTION()

7. Unlock and unpin the buffer(s).

Few places in GIN code does not follow that. v1 fixes it.

--
Best regards,
Kirill Reshke

Attachment Content-Type Size
v1-0001-Release-and-unpin-buffers-after-leaving-CRIT-sect.patch application/octet-stream 4.2 KB

Responses

Browse pgsql-hackers by date

  From Date Subject
Next Message Michael Paquier 2026-02-17 10:07:30 Re: Release and unpin buffers after leaving CRIT section in GIN.
Previous Message Tatsuo Ishii 2026-02-17 09:34:28 Re: Row pattern recognition