Make UniqueRelInfo a node

Alexander Korotkov <akorotkov@postgresql.org>

Commit: 2b26a6945545366ef0ed57b6d47ffaa337d5d56b
Author: Alexander Korotkov <akorotkov@postgresql.org>
Date: 2023-10-27T02:45:16Z
Releases: 17.0
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

Files

PathChange+/−
src/backend/optimizer/plan/analyzejoins.c modified +0 −14
src/include/nodes/pathnodes.h modified +27 −2

Discussion

Cited messages not in the archive: flat/1189851.1698340331@sss.pgh.pa.us