postgresql/src/include
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
..
access Allow opclasses to provide tri-valued GIN consistent functions. 2014-03-12 17:51:30 +02:00
bootstrap Update copyright for 2014 2014-01-07 16:05:30 -05:00
catalog Allow opclasses to provide tri-valued GIN consistent functions. 2014-03-12 17:51:30 +02:00
commands Introduce logical decoding. 2014-03-03 16:32:18 -05:00
common Make various variables const (read-only). 2014-01-18 16:04:32 -05:00
datatype Update copyright for 2014 2014-01-07 16:05:30 -05:00
executor Update copyright for 2014 2014-01-07 16:05:30 -05:00
foreign Update copyright for 2014 2014-01-07 16:05:30 -05:00
lib Update copyright for 2014 2014-01-07 16:05:30 -05:00
libpq Log a detail message for auth failures due to missing or expired password. 2014-01-27 21:04:09 -05:00
mb Fix typo 2014-02-13 21:50:43 -05:00
nodes Add comment that ec_relids excludes "child" EquivalenceClass members. 2014-03-05 16:00:33 -05:00
optimizer Code review for auto-tuned effective_cache_size. 2014-01-27 00:05:56 -05:00
parser Avoid repeated name lookups during table and index DDL. 2014-02-17 09:33:31 -05:00
port Enable building with Visual Studion 2013. 2014-01-26 09:49:10 -05:00
portability Update copyright for 2014 2014-01-07 16:05:30 -05:00
postmaster Separate multixact freezing parameters from xid's 2014-02-13 19:36:31 -03:00
regex Allow regex operations to be terminated early by query cancel requests. 2014-03-01 15:20:56 -05:00
replication Allow logical decoding via the walsender interface. 2014-03-10 13:50:28 -04:00
rewrite Avoid getting more than AccessShareLock when deparsing a query. 2014-03-06 19:31:05 -05:00
snowball Update copyright for 2014 2014-01-07 16:05:30 -05:00
storage Allow dynamic shared memory segments to be kept until shutdown. 2014-03-10 14:04:47 -04:00
tcop Avoid repeated name lookups during table and index DDL. 2014-02-17 09:33:31 -05:00
tsearch Allow opclasses to provide tri-valued GIN consistent functions. 2014-03-12 17:51:30 +02:00
utils Allow opclasses to provide tri-valued GIN consistent functions. 2014-03-12 17:51:30 +02:00
.gitignore Autoconfiscate selection of 64-bit int type for 64-bit large object API. 2012-10-07 21:52:43 -04:00
c.h Prevent double macro definition of WIN32. 2014-01-17 11:49:44 -05:00
fmgr.h Further code review for pg_lsn data type. 2014-02-19 10:06:59 -05:00
funcapi.h Update copyright for 2014 2014-01-07 16:05:30 -05:00
getaddrinfo.h Update copyright for 2014 2014-01-07 16:05:30 -05:00
getopt_long.h Centralize getopt-related declarations in a new header file pg_getopt.h. 2014-02-15 14:31:30 -05:00
Makefile Remove maintainer-check target, fold into normal build 2013-10-10 20:11:56 -04:00
miscadmin.h PGDLLIMPORT-ify MainLWLockArray, ProcDiePending, proc_exit_inprogress. 2014-02-16 20:12:43 -05:00
pg_config_ext.h.in Autoconfiscate selection of 64-bit int type for 64-bit large object API. 2012-10-07 21:52:43 -04:00
pg_config_ext.h.win32 Autoconfiscate selection of 64-bit int type for 64-bit large object API. 2012-10-07 21:52:43 -04:00
pg_config_manual.h Fix typos in comments for ALTER SYSTEM. 2014-01-27 12:23:20 +09:00
pg_config.h.in Allow use of "z" flag in our printf calls, and use it where appropriate. 2014-01-23 17:18:33 -05:00
pg_config.h.win32 Enable building with Visual Studion 2013. 2014-01-26 09:49:10 -05:00
pg_getopt.h Centralize getopt-related declarations in a new header file pg_getopt.h. 2014-02-15 14:31:30 -05:00
pg_trace.h Update copyright for 2014 2014-01-07 16:05:30 -05:00
pgstat.h Show xid and xmin in pg_stat_activity and pg_stat_replication. 2014-02-25 12:34:04 -05:00
pgtar.h Update copyright for 2014 2014-01-07 16:05:30 -05:00
pgtime.h Update copyright for 2014 2014-01-07 16:05:30 -05:00
port.h Centralize getopt-related declarations in a new header file pg_getopt.h. 2014-02-15 14:31:30 -05:00
postgres_ext.h Provide database object names as separate fields in error messages. 2013-01-29 17:08:26 -05:00
postgres_fe.h Update copyright for 2014 2014-01-07 16:05:30 -05:00
postgres.h Further code review for pg_lsn data type. 2014-02-19 10:06:59 -05:00
rusagestub.h Update copyright for 2014 2014-01-07 16:05:30 -05:00
windowapi.h Update copyright for 2014 2014-01-07 16:05:30 -05:00