Update the comment in nodes.h to cover Cardinality - Mailing list pgsql-hackers

From Richard Guo
Subject Update the comment in nodes.h to cover Cardinality
Date
Msg-id CAMbWs4-Zd7Yy80RL1NdskLLo-wz6QoqsbC5TKs=3yZxG3BT_aA@mail.gmail.com
Whole thread Raw
Responses Re: Update the comment in nodes.h to cover Cardinality
List pgsql-hackers
By chance I discovered that the comment for the typedefs of "double"s
does not cover Cardinality.  Should we update that comment accordingly,
maybe something like below?

- * Typedefs for identifying qualifier selectivities and plan costs as such.
- * These are just plain "double"s, but declaring a variable as Selectivity
- * or Cost makes the intent more obvious.
+ * Typedefs for identifying qualifier selectivities, plan costs and
+ * estimated rows or other count as such.  These are just plain "double"s,
+ * but declaring a variable as Selectivity, Cost or Cardinality makes the
+ * intent more obvious.

Thanks
Richard
Attachment

pgsql-hackers by date:

Previous
From: Amit Kapila
Date:
Subject: Re: Synchronizing slots from primary to standby
Next
From: Peter Smith
Date:
Subject: Re: "pgoutput" options missing on documentation