diff options
author | Tom Lane <tgl@sss.pgh.pa.us> | 2000-01-24 07:16:52 +0000 |
---|---|---|
committer | Tom Lane <tgl@sss.pgh.pa.us> | 2000-01-24 07:16:52 +0000 |
commit | 0dbffa704ab3235431b4caef675d9179109d4a0c (patch) | |
tree | e00f27de3b6a2faec151f4d2d6aa924ba05d5e5d /src/backend/utils/adt/arrayfuncs.c | |
parent | 8bcac56086ec1aa1eae04879bfb22275b9396522 (diff) | |
download | postgresql-0dbffa704ab3235431b4caef675d9179109d4a0c.tar.gz postgresql-0dbffa704ab3235431b4caef675d9179109d4a0c.zip |
First cut at making useful selectivity estimates for range queries
(ie, WHERE x > lowbound AND x < highbound). It's not very bright yet
but it does something useful. Also, rename intltsel/intgtsel to
scalarltsel/scalargtsel to reflect usage better. Extend convert_to_scalar
to do something a little bit useful with string data types. Still need
to make it do something with date/time datatypes, but I'll wait for
Thomas's datetime unification dust to settle first. Eventually the
routine ought not have any type-specific knowledge at all; it ought to
be calling a type-dependent routine found via a pg_type column; but
that's a task for another day.
Diffstat (limited to 'src/backend/utils/adt/arrayfuncs.c')
0 files changed, 0 insertions, 0 deletions