]> granicus.if.org Git - postgresql/commit
First step in fixing selectivity-estimation code. eqsel and
authorTom Lane <tgl@sss.pgh.pa.us>
Sun, 1 Aug 1999 04:54:25 +0000 (04:54 +0000)
committerTom Lane <tgl@sss.pgh.pa.us>
Sun, 1 Aug 1999 04:54:25 +0000 (04:54 +0000)
commit44878506d811dcb5e7f4ea6450c9e6b8544f2651
treec4b6c4af148bab7667b2b93bdec2f060bf638d80
parentf851c6b07deac83e03de3e77221ea595513e6f47
First step in fixing selectivity-estimation code. eqsel and
neqsel now behave as per my suggestions in pghackers a few days ago.
selectivity for < > <= >= should work OK for integral types as well, but
still need work for nonintegral types.  Since these routines have never
actually executed before :-(, this may result in some significant changes
in the optimizer's choices of execution plans.  Let me know if you see
any serious misbehavior.
CAUTION: THESE CHANGES REQUIRE INITDB.  pg_statistic table has changed.
src/backend/commands/vacuum.c
src/backend/utils/adt/selfuncs.c
src/include/catalog/pg_statistic.h
src/include/commands/vacuum.h
src/include/utils/builtins.h