postgresql/src/test
Tom Lane c8076f09d2 Restructure index AM interface for index building and index tuple deletion,
per previous discussion on pghackers.  Most of the duplicate code in
different AMs' ambuild routines has been moved out to a common routine
in index.c; this means that all index types now do the right things about
inserting recently-dead tuples, etc.  (I also removed support for EXTEND
INDEX in the ambuild routines, since that's about to go away anyway, and
it cluttered the code a lot.)  The retail indextuple deletion routines have
been replaced by a "bulk delete" routine in which the indexscan is inside
the access method.  I haven't pushed this change as far as it should go yet,
but it should allow considerable simplification of the internal bookkeeping
for deletions.  Also, add flag columns to pg_am to eliminate various
hardcoded tests on AM OIDs, and remove unused pg_am columns.

Fix rtree and gist index types to not attempt to store NULLs; before this,
gist usually crashed, while rtree managed not to crash but computed wacko
bounding boxes for NULL entries (which might have had something to do with
the performance problems we've heard about occasionally).

Add AtEOXact routines to hash, rtree, and gist, all of which have static
state that needs to be reset after an error.  We discovered this need long
ago for btree, but missed the other guys.

Oh, one more thing: concurrent VACUUM is now the default.
2001-07-15 22:48:19 +00:00
..
bench Make sure -L and -I's for our source tree are always before system include 2001-02-20 19:20:30 +00:00
examples pgindent run. Make it all clean. 2001-03-22 04:01:46 +00:00
locale apply a little patch: 2001-05-03 19:20:24 +00:00
mb new regression data for 7.1 2001-02-21 06:03:25 +00:00
performance Remove more -B parameters not needed. 1999-05-23 19:01:18 +00:00
regress Restructure index AM interface for index building and index tuple deletion, 2001-07-15 22:48:19 +00:00
Makefile New unified regression test driver, test/regress makefile cleanup, 2000-09-29 17:17:41 +00:00