Change get_variable_numdistinct's API to flag default estimates explicitly.
Formerly, callers tested for DEFAULT_NUM_DISTINCT, which had the problem
that a perfectly solid estimate might be mistaken for a content-free
default.
Branch
------
master
Details
-------
http://git.postgresql.org/pg/commitdiff/4c2777d0b733220d9029f78817af8ce671e4a5ad
Modified Files
--------------
src/backend/utils/adt/selfuncs.c | 70 +++++++++++++++++++++++--------------
src/include/utils/selfuncs.h | 3 +-
2 files changed, 45 insertions(+), 28 deletions(-)
pgsql-committers by date
| Next: | From: Tom Lane | Date: 2011-09-04 23:10:17 |
| Subject: pgsql: Fix #include problems in 9.1 branch. |
| Previous: | From: Tom Lane | Date: 2011-09-04 07:29:00 |
| Subject: Re: Re: [COMMITTERS] pgsql: Remove "fmgr.h" include in cube contrib --- caused crash on a Ge |