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

From Peter Eisentraut
Subject Re: Update the comment in nodes.h to cover Cardinality
Date
Msg-id 7b975ded-915a-4e9d-aaf9-f0e75ce12e0d@eisentraut.org
Whole thread Raw
In response to Update the comment in nodes.h to cover Cardinality  (Richard Guo <guofenglinux@gmail.com>)
Responses Re: Update the comment in nodes.h to cover Cardinality
List pgsql-hackers
On 19.12.23 07:23, Richard Guo wrote:
> 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.

Fixed, thanks.




pgsql-hackers by date:

Previous
From: Jelte Fennema-Nio
Date:
Subject: Re: Add new for_each macros for iterating over a List that do not require ListCell pointer
Next
From: Junwang Zhao
Date:
Subject: Re: Transaction timeout