pg.ddx.io  pgsql-committers@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Michael Paquier <michael@paquier.xyz>
To: pgsql-committers@lists.postgresql.org
Subject: pgsql: Use correct datatype for xmin variables in slot.c
Date: Thu, 11 Apr 2024 08:19:56 +0000
Message-ID: <E1rupf1-001ZKB-O6@gemulon.postgresql.org> (raw)

Use correct datatype for xmin variables in slot.c

Two variables storing a slot's effective_xmin and effective_catalog_xmin
were saved as XLogRecPtr, which is incorrect as these should be
TransactionIds.

Oversight in 818fefd8fd44.

Author: Bharath Rupireddy
Discussion: https://postgr.es/m/CALj2ACVPSB74mrDTFezz-LV3Oi6F3SN71QA0oUHvndzi5dwTNg@mail.gmail.com
Backpatch-through: 16

Branch
------
REL_16_STABLE

Details
-------
https://git.postgresql.org/pg/commitdiff/574c7c754666a2b5634efd700d3602629d261362

Modified Files
--------------
src/backend/replication/slot.c | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)



view thread (2+ messages)  latest in thread

Message-ID: <E1rupf1-001ZKB-O6@gemulon.postgresql.org>
Permalink:  ../E1rupf1-001ZKB-O6@gemulon.postgresql.org/
Also on:    postgresql.org/message-id/E1rupf1-001ZKB-O6@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: michael@paquier.xyz, pgsql-committers@lists.postgresql.org
  Subject: Re: pgsql: Use correct datatype for xmin variables in slot.c
  In-Reply-To: <E1rupf1-001ZKB-O6@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