Make UniqueRelInfo a node
authorAlexander Korotkov <akorotkov@postgresql.org>
Fri, 27 Oct 2023 02:29:48 +0000 (05:29 +0300)
committerAlexander Korotkov <akorotkov@postgresql.org>
Fri, 27 Oct 2023 02:45:16 +0000 (05:45 +0300)
commit2b26a6945545366ef0ed57b6d47ffaa337d5d56b
treefb3c8a0bd87f256a472e44f8ed28b41bbbd0bb0c
parent74604a37f2f9eb6e626a4ff3cedd02aef5a2ad59
Make UniqueRelInfo a node

d3d55ce571 changed RelOptInfo.unique_for_rels from the list of Relid sets to
the list of UniqueRelInfo's.  But it didn't make UniqueRelInfo a node.
This commit makes UniqueRelInfo a node.  Also this commit revises some
comments related to RelOptInfo.unique_for_rels.

Reported-by: Tom Lane
Discussion: https://postgr.es/m/flat/1189851.1698340331%40sss.pgh.pa.us
src/backend/optimizer/plan/analyzejoins.c
src/include/nodes/pathnodes.h