Skip site navigation (1) Skip section navigation (2)

pgsql: Change get_variable_numdistinct's API to flag defaultestimates

From: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
To: pgsql-committers(at)postgresql(dot)org
Subject: pgsql: Change get_variable_numdistinct's API to flag defaultestimates
Date: 2011-09-04 19:42:05
Message-ID: E1R0IZx-0001Qm-Qs@gemulon.postgresql.org (view raw or flat)
Thread:
Lists: pgsql-committers
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 LaneDate: 2011-09-04 23:10:17
Subject: pgsql: Fix #include problems in 9.1 branch.
Previous:From: Tom LaneDate: 2011-09-04 07:29:00
Subject: Re: Re: [COMMITTERS] pgsql: Remove "fmgr.h" include in cube contrib --- caused crash on a Ge

Privacy Policy | About PostgreSQL
Copyright © 1996-2014 The PostgreSQL Global Development Group