OSDN Git Service

Get rid of IndexIsUniqueNoCache() kluge by the simple expedient of
authorTom Lane <tgl@sss.pgh.pa.us>
Sat, 17 Jun 2000 23:41:51 +0000 (23:41 +0000)
committerTom Lane <tgl@sss.pgh.pa.us>
Sat, 17 Jun 2000 23:41:51 +0000 (23:41 +0000)
commitedf0b5f0db0da14340fa4ea140f5c20003e84fe5
tree82ef18a42cf3ab710244879d219c993708540487
parentd03a933ec5400f77fc132d4a47bb7d2981ff5187
Get rid of IndexIsUniqueNoCache() kluge by the simple expedient of
passing the index-is-unique flag to index build routines (duh! ...
why wasn't it done this way to begin with?).  Aside from eliminating
an eyesore, this should save a few milliseconds in btree index creation
because a full scan of pg_index is not needed any more.
13 files changed:
src/backend/access/gist/gist.c
src/backend/access/hash/hash.c
src/backend/access/nbtree/nbtree.c
src/backend/access/rtree/rtree.c
src/backend/bootstrap/bootstrap.c
src/backend/catalog/heap.c
src/backend/catalog/index.c
src/backend/commands/cluster.c
src/backend/commands/indexcmds.c
src/backend/storage/large_object/inv_api.c
src/include/bootstrap/bootstrap.h
src/include/catalog/index.h
src/include/catalog/pg_proc.h