Update comment for Cardinality typedef

Author: Richard Guo <guofenglinux@gmail.com>
Discussion: https://www.postgresql.org/message-id/flat/CAMbWs4-Zd7Yy80RL1NdskLLo-wz6QoqsbC5TKs%3D3yZxG3BT_aA%40mail.gmail.com
This commit is contained in:
Peter Eisentraut 2023-12-19 14:58:47 +01:00
parent e52e271b23
commit 2a607fb822

View 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...