Update comment for Cardinality typedef
authorPeter Eisentraut <[email protected]>
Tue, 19 Dec 2023 13:58:47 +0000 (14:58 +0100)
committerPeter Eisentraut <[email protected]>
Tue, 19 Dec 2023 13:58:47 +0000 (14:58 +0100)
Author: Richard Guo <[email protected]>
Discussion: https://www.postgresql.org/message-id/flat/CAMbWs4-Zd7Yy80RL1NdskLLo-wz6QoqsbC5TKs%3D3yZxG3BT_aA%40mail.gmail.com

src/include/nodes/nodes.h

index 50b025cd8a45393433605b4717dd593ed3125014..580024b92b4cce3f6cf6a3c4cc62150a969e7330 100644 (file)
@@ -230,9 +230,9 @@ extern bool equal(const void *a, const void *b);
 
 
 /*
- * 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 row
+ * counts as such.  These are just plain "double"s, but declaring a variable
+ * as Selectivity, Cost, or Cardinality makes the intent more obvious.
  *
  * These could have gone into plannodes.h or some such, but many files
  * depend on them...