postgres/src/backend
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
..
access Restructure index AM interface for index building and index tuple deletion, 2001-07-15 22:48:19 +00:00
bootstrap Restructure index AM interface for index building and index tuple deletion, 2001-07-15 22:48:19 +00:00
catalog Restructure index AM interface for index building and index tuple deletion, 2001-07-15 22:48:19 +00:00
commands Restructure index AM interface for index building and index tuple deletion, 2001-07-15 22:48:19 +00:00
executor Restructure index AM interface for index building and index tuple deletion, 2001-07-15 22:48:19 +00:00
lib dllist.c is included in the frontend libpq interface via symlink. 2001-06-02 15:16:55 +00:00
libpq Better document use of ident on localhost, per Tom Lane's idea. 2001-07-11 20:32:11 +00:00
main Mark many strings in backend not covered by elog for translation. Also, 2001-06-03 14:53:56 +00:00
nodes Remove grammar restrictions on order of optional clauses in CREATE GROUP. 2001-07-12 18:03:00 +00:00
optimizer Restructure index AM interface for index building and index tuple deletion, 2001-07-15 22:48:19 +00:00
parser Remove grammar restrictions on order of optional clauses in CREATE GROUP. 2001-07-12 18:03:00 +00:00
po Mark many strings in backend not covered by elog for translation. Also, 2001-06-03 14:53:56 +00:00
port There is no RTLD_GLOBAL on OpenBSD, says Alex Pilosov <alex@pilosoft.com>. 2001-06-20 18:33:31 +00:00
postmaster Added GUC configuration options to control access statistics. 2001-07-05 15:19:40 +00:00
regex pgindent run. Make it all clean. 2001-03-22 04:01:46 +00:00
rewrite Fix rule rewriter so that new ordering of ON INSERT actions applies 2001-07-09 23:50:32 +00:00
storage Create a new HeapTupleSatisfiesVacuum() routine in tqual.c that embodies the 2001-07-12 04:11:13 +00:00
tcop Fix erroneous GUC variable references from commandline-GUC patch. 2001-06-29 16:05:57 +00:00
tioga Remove dashes in comments that don't need them, rewrap with pgindent. 2001-03-22 06:16:21 +00:00
utils Restructure index AM interface for index building and index tuple deletion, 2001-07-15 22:48:19 +00:00
Makefile Native Language Support (NLS) 2001-06-02 18:25:18 +00:00