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(-) -- Sent via pgsql-committers mailing list ([email protected]) To make changes to your subscription: http://www.postgresql.org/mailpref/pgsql-committers
