postgresql/src/include/access
Heikki Linnakangas c5608ea26a Allow opclasses to provide tri-valued GIN consistent functions.
With the GIN "fast scan" feature, GIN can skip items without fetching all
the keys for them, if it can prove that they don't match regardless of
those keys. So far, it has done the proving by calling the boolean
consistent function with all combinations of TRUE/FALSE for the unfetched
keys, but since that's O(n^2), it becomes unfeasible with more than a few
keys. We can avoid calling consistent with all the combinations, if we can
tell the operator class implementation directly which keys are unknown.

This commit includes a triConsistent function for the built-in array and
tsvector opclasses.

Alexander Korotkov, with some changes by me.
2014-03-12 17:51:30 +02:00
..
attnum.h Update copyright for 2014 2014-01-07 16:05:30 -05:00
clog.h Update copyright for 2014 2014-01-07 16:05:30 -05:00
genam.h Update copyright for 2014 2014-01-07 16:05:30 -05:00
gin.h Allow opclasses to provide tri-valued GIN consistent functions. 2014-03-12 17:51:30 +02:00
gin_private.h Allow opclasses to provide tri-valued GIN consistent functions. 2014-03-12 17:51:30 +02:00
gist.h Update copyright for 2014 2014-01-07 16:05:30 -05:00
gist_private.h Update copyright for 2014 2014-01-07 16:05:30 -05:00
gistscan.h Update copyright for 2014 2014-01-07 16:05:30 -05:00
hash.h Update copyright for 2014 2014-01-07 16:05:30 -05:00
heapam.h Introduce logical decoding. 2014-03-03 16:32:18 -05:00
heapam_xlog.h Introduce logical decoding. 2014-03-03 16:32:18 -05:00
hio.h Update copyright for 2014 2014-01-07 16:05:30 -05:00
htup.h Update copyright for 2014 2014-01-07 16:05:30 -05:00
htup_details.h Update copyright for 2014 2014-01-07 16:05:30 -05:00
itup.h Update copyright for 2014 2014-01-07 16:05:30 -05:00
multixact.h Update copyright for 2014 2014-01-07 16:05:30 -05:00
nbtree.h Update copyright for 2014 2014-01-07 16:05:30 -05:00
printtup.h Update copyright for 2014 2014-01-07 16:05:30 -05:00
reloptions.h Update copyright for 2014 2014-01-07 16:05:30 -05:00
relscan.h Update copyright for 2014 2014-01-07 16:05:30 -05:00
rewriteheap.h Introduce logical decoding. 2014-03-03 16:32:18 -05:00
rmgr.h pgindent run for release 9.3 2013-05-29 16:58:43 -04:00
rmgrlist.h Update copyright for 2014 2014-01-07 16:05:30 -05:00
sdir.h Update copyright for 2014 2014-01-07 16:05:30 -05:00
skey.h Update copyright for 2014 2014-01-07 16:05:30 -05:00
slru.h Relax the requirement that all lwlocks be stored in a single array. 2014-01-27 11:07:44 -05:00
spgist.h Update copyright for 2014 2014-01-07 16:05:30 -05:00
spgist_private.h Update copyright for 2014 2014-01-07 16:05:30 -05:00
subtrans.h Update copyright for 2014 2014-01-07 16:05:30 -05:00
sysattr.h Update copyright for 2014 2014-01-07 16:05:30 -05:00
timeline.h Update copyright for 2014 2014-01-07 16:05:30 -05:00
transam.h Introduce logical decoding. 2014-03-03 16:32:18 -05:00
tupconvert.h Update copyright for 2014 2014-01-07 16:05:30 -05:00
tupdesc.h Update copyright for 2014 2014-01-07 16:05:30 -05:00
tupmacs.h Update copyright for 2014 2014-01-07 16:05:30 -05:00
tuptoaster.h Introduce logical decoding. 2014-03-03 16:32:18 -05:00
twophase.h Update copyright for 2014 2014-01-07 16:05:30 -05:00
twophase_rmgr.h Update copyright for 2014 2014-01-07 16:05:30 -05:00
valid.h Update copyright for 2014 2014-01-07 16:05:30 -05:00
visibilitymap.h Update copyright for 2014 2014-01-07 16:05:30 -05:00
xact.h Update copyright for 2014 2014-01-07 16:05:30 -05:00
xlog.h Introduce logical decoding. 2014-03-03 16:32:18 -05:00
xlog_fn.h Update copyright for 2014 2014-01-07 16:05:30 -05:00
xlog_internal.h Update copyright for 2014 2014-01-07 16:05:30 -05:00
xlogdefs.h Update copyright for 2014 2014-01-07 16:05:30 -05:00
xlogreader.h Update copyright for 2014 2014-01-07 16:05:30 -05:00
xlogutils.h Update copyright for 2014 2014-01-07 16:05:30 -05:00