From 6fe0eb963d3894ae9b0b6e151083887b664d45a3 Mon Sep 17 00:00:00 2001 From: Peter Eisentraut Date: Wed, 15 Sep 2021 18:56:13 +0200 Subject: Add Cardinality typedef Similar to Cost and Selectivity, this is just a double, which can be used in path and plan nodes to give some hint about the meaning of a field. Discussion: https://www.postgresql.org/message-id/c091e5cd-45f8-69ee-6a9b-de86912cc7e7@enterprisedb.com --- src/include/nodes/nodes.h | 1 + 1 file changed, 1 insertion(+) (limited to 'src/include/nodes/nodes.h') diff --git a/src/include/nodes/nodes.h b/src/include/nodes/nodes.h index b3ee4194d39..e0057daa061 100644 --- a/src/include/nodes/nodes.h +++ b/src/include/nodes/nodes.h @@ -668,6 +668,7 @@ extern bool equal(const void *a, const void *b); */ typedef double Selectivity; /* fraction of tuples a qualifier will pass */ typedef double Cost; /* execution cost (in page-access units) */ +typedef double Cardinality; /* (estimated) number of rows or other integer count */ /* -- cgit v1.2.3