OSDN Git Service

Fix scalararraysel() to cope with binary-compatible cases, such as text[]
authorTom Lane <tgl@sss.pgh.pa.us>
Sun, 28 Jan 2007 01:37:38 +0000 (01:37 +0000)
committerTom Lane <tgl@sss.pgh.pa.us>
Sun, 28 Jan 2007 01:37:38 +0000 (01:37 +0000)
commitaf18f6ad8521a88ef379167ecb40075a651d732a
tree71f0dcf3a4e4116a328e34ac3ddaad61a874e348
parent82480fc2542fc92bdbc917060b0d578120e9997d
Fix scalararraysel() to cope with binary-compatible cases, such as text[]
versus varchar[].  This oversight probably explains Ryan Holmes' recent
complaint --- he was getting a generic selectivity estimate instead of
anything intelligent.
src/backend/utils/adt/selfuncs.c