Обсуждение: pgsql/src/backend/access/nbtree (nbtree.c)

Поиск
Список
Период
Сортировка

pgsql/src/backend/access/nbtree (nbtree.c)

От
Tom Lane
Дата:
  Date: Saturday, June 17, 2000 @ 19:41:16
Author: tgl

Update of /home/projects/pgsql/cvsroot/pgsql/src/backend/access/nbtree
     from hub.org:/home/projects/pgsql/tmp/cvs-serv80708/backend/access/nbtree

Modified Files:
    nbtree.c

-----------------------------  Log Message  -----------------------------

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.