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
pull/151/head
Peter Eisentraut 2 years ago
parent e52e271b23
commit 2a607fb822
  1. 6
      src/include/nodes/nodes.h

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

Loading…
Cancel
Save