pgsql/src/include/utils (rel.h relcache.h) - Mailing list pgsql-committers

From Tom Lane
Subject pgsql/src/include/utils (rel.h relcache.h)
Date
Msg-id 200006172149.e5HLn7l55808@hub.org
Whole thread Raw
List pgsql-committers
  Date: Saturday, June 17, 2000 @ 17:49:05
Author: tgl

Update of /home/projects/pgsql/cvsroot/pgsql/src/include/utils
     from hub.org:/home/projects/pgsql/tmp/cvs-serv55574/include/utils

Modified Files:
    rel.h relcache.h

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

Fix performance problems with pg_index lookups (see, for example,
discussion of 5/19/00).  pg_index is now searched for indexes of a
relation using an indexscan.  Moreover, this is done once and cached
in the relcache entry for the relation, in the form of a list of OIDs
for the indexes.  This list is used by the parser and executor to drive
lookups in the pg_index syscache when they want to know the properties
of the indexes.  Net result: index information will be fully cached
for repetitive operations such as inserts.

pgsql-committers by date:

Previous
From: Tom Lane
Date:
Subject: pgsql/src/backend/utils/cache (relcache.c)
Next
From: Tom Lane
Date:
Subject: pgsql/src/backend/access/gist (gist.c)