Implement List support for TransactionId
authorAlvaro Herrera <alvherre@alvh.no-ip.org>
Mon, 4 Jul 2022 12:52:12 +0000 (14:52 +0200)
committerAlvaro Herrera <alvherre@alvh.no-ip.org>
Mon, 4 Jul 2022 12:52:12 +0000 (14:52 +0200)
commitf10a025cfe97c1a341f636368e67af5ca644c5d8
tree54e24a8088feaec1b65fba755a7329f18a5f0687
parent55f4802785f66a584c05dca40e5d9b25491674b2
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>
src/backend/nodes/list.c
src/backend/nodes/outfuncs.c
src/backend/replication/pgoutput/pgoutput.c
src/include/nodes/nodes.h
src/include/nodes/pg_list.h