pg.ddx.io  pgsql-committers@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Heikki Linnakangas <heikki.linnakangas@iki.fi>
To: pgsql-committers@lists.postgresql.org
Subject: pgsql: Clear 'xid' in dummy async notify entries written to fill up pag
Date: Wed, 12 Nov 2025 19:34:09 +0000
Message-ID: <E1vJGbZ-006HnA-0N@gemulon.postgresql.org> (raw)

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@kurilemu.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(+)



view thread (6+ messages)

Message-ID: <E1vJGbZ-006HnA-0N@gemulon.postgresql.org>
Permalink:  ../E1vJGbZ-006HnA-0N@gemulon.postgresql.org/
Also on:    postgresql.org/message-id/E1vJGbZ-006HnA-0N@gemulon.postgresql.org

 · 

reply

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Reply to all the recipients using the --to and --cc options:
  reply via email

  To: pgsql-committers@postgresql.org
  Cc: heikki.linnakangas@iki.fi, pgsql-committers@lists.postgresql.org
  Subject: Re: pgsql: Clear 'xid' in dummy async notify entries written to fill up pag
  In-Reply-To: <E1vJGbZ-006HnA-0N@gemulon.postgresql.org>

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox