| From: | Heikki Linnakangas <heikki(dot)linnakangas(at)iki(dot)fi> |
|---|---|
| To: | pgsql-committers(at)lists(dot)postgresql(dot)org |
| Subject: | pgsql: Clear 'xid' in dummy async notify entries written to fill up pag |
| Date: | 2025-11-12 19:34:09 |
| Message-ID: | E1vJGbZ-006HnA-0N@gemulon.postgresql.org |
| Views: | Whole Thread | Raw Message | Download mbox | Resend email |
| Thread: | |
| Lists: | pgsql-committers |
Clear 'xid' in dummy async notify entries written to fill up pages
Before we started to freeze async notify entries (commit 8eeb4a0f7c),
no one looked at the 'xid' on an entry with invalid 'dboid'. But now
we might actually need to freeze it later. Initialize them with
InvalidTransactionId to begin with, to avoid that work later.
Álvaro pointed this out in review of commit 8eeb4a0f7c, but I forgot
to include this change there.
Author: Álvaro Herrera <alvherre(at)kurilemu(dot)de>
Discussion: https://www.postgresql.org/message-id/202511071410.52ll56eyixx7@alvherre.pgsql
Backpatch-through: 14
Branch
------
REL_14_STABLE
Details
-------
https://git.postgresql.org/pg/commitdiff/84f1bf4afa5e7c329ca4dd908334205f8282c398
Modified Files
--------------
src/backend/commands/async.c | 1 +
1 file changed, 1 insertion(+)
| From | Date | Subject | |
|---|---|---|---|
| Next Message | Nathan Bossart | 2025-11-12 20:31:10 | pgsql: Teach DSM registry to ERROR if attaching to an uninitialized ent |
| Previous Message | Heikki Linnakangas | 2025-11-12 19:16:38 | pgsql: Fix remaining race condition with CLOG truncation and LISTEN/NOT |