pg.ddx.io  pgsql-committers@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Alvaro Herrera <alvherre@alvh.no-ip.org>
To: pgsql-committers@lists.postgresql.org
Subject: pgsql: Implement List support for TransactionId
Date: Mon, 04 Jul 2022 13:14:05 +0000
Message-ID: <E1o8Ltr-001A0w-N9@gemulon.postgresql.org> (raw)

Implement List support for TransactionId

Use it for RelationSyncEntry->streamed_txns, which is currently using an
integer list.

The API support is not complete, not because it is hard to write but
because it's unclear that it's worth the code space, there being so
little use of XID lists.

Discussion: https://postgr.es/m/202205130830.g5ntonhztspb@alvherre.pgsql
Reviewed-by: Amit Kapila <amit.kapila16@gmail.com>

Branch
------
master

Details
-------
https://git.postgresql.org/pg/commitdiff/f10a025cfe97c1a341f636368e67af5ca644c5d8

Modified Files
--------------
src/backend/nodes/list.c                    | 42 ++++++++++++++++++++++++++++-
src/backend/nodes/outfuncs.c                |  4 +++
src/backend/replication/pgoutput/pgoutput.c | 14 +++-------
src/include/nodes/nodes.h                   |  1 +
src/include/nodes/pg_list.h                 | 21 +++++++++++++++
5 files changed, 70 insertions(+), 12 deletions(-)



Message-ID: <E1o8Ltr-001A0w-N9@gemulon.postgresql.org>
Permalink:  ../E1o8Ltr-001A0w-N9@gemulon.postgresql.org/
Also on:    postgresql.org/message-id/E1o8Ltr-001A0w-N9@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 from your mail client; the link fills in
  the headers below: reply via email
  Some clients, webmail especially, drop In-Reply-To and References from
  a link, and the reply then starts a new thread: use the mbox below.

  To: pgsql-committers@postgresql.org
  Cc: alvherre@alvh.no-ip.org
  Subject: Re: pgsql: Implement List support for TransactionId
  In-Reply-To: <E1o8Ltr-001A0w-N9@gemulon.postgresql.org>
  References: <E1o8Ltr-001A0w-N9@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