Add copy/equal support for XID lists
authorAlvaro Herrera <alvherre@alvh.no-ip.org>
Tue, 12 Jul 2022 14:11:04 +0000 (16:11 +0200)
committerAlvaro Herrera <alvherre@alvh.no-ip.org>
Tue, 12 Jul 2022 14:11:04 +0000 (16:11 +0200)
commit5ca0fe5c8ad7987beee95669124c7e245f2816d8
tree4cf85f19d93b150385d43299d1696923bf1c65c5
parentd3117fc1a3e87717a57be0153408e5387e265e1b
Add copy/equal support for XID lists

Commit f10a025cfe97 added support for List to store Xids, but didn't
handle the new type in all cases.  Add some obviously necessary pieces.
As far as I am aware, this is all dead code as far as core code is
concerned, but it seems unacceptable not to have it in case third-party
code wants to rely on this type of list.  (Some parts of the List API
remain unimplemented, but that can be fixed as and when needed -- see
lack of list_intersection_oid, list_deduplicate_int as precedents.)

Discussion: https://postgr.es/m/20220708164534.nbejhgt4ajz35p65@alvherre.pgsql
src/backend/nodes/copyfuncs.c
src/backend/nodes/equalfuncs.c
src/test/modules/test_oat_hooks/test_oat_hooks.c