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
Branch
------
master
Details
-------
https://git.postgresql.org/pg/commitdiff/2b26a6945545366ef0ed57b6d47ffaa337d5d56b
Modified Files
--------------
src/backend/optimizer/plan/analyzejoins.c | 14 --------------
src/include/nodes/pathnodes.h | 29 +++++++++++++++++++++++++++--
2 files changed, 27 insertions(+), 16 deletions(-)