mirror of
https://github.com/postgres/postgres.git
synced 2025-07-11 10:01:57 +03:00
CREATE INDEX ... INCLUDING (column[, ...])
Now indexes (but only B-tree for now) can contain "extra" column(s) which doesn't participate in index structure, they are just stored in leaf tuples. It allows to use index only scan by using single index instead of two or more indexes. Author: Anastasia Lubennikova with minor editorializing by me Reviewers: David Rowley, Peter Geoghegan, Jeff Janes
This commit is contained in:
contrib
doc/src/sgml
src
backend
access
brin
common
gin
gist
hash
index
nbtree
spgist
bootstrap
catalog
commands
executor
nodes
optimizer
parser
utils
bin
include
access
catalog
nodes
utils
test
@ -69,6 +69,7 @@ gisthandler(PG_FUNCTION_ARGS)
|
||||
amroutine->amstorage = true;
|
||||
amroutine->amclusterable = true;
|
||||
amroutine->ampredlocks = false;
|
||||
amroutine->amcaninclude = false;
|
||||
amroutine->amkeytype = InvalidOid;
|
||||
|
||||
amroutine->ambuild = gistbuild;
|
||||
|
Reference in New Issue
Block a user