]> granicus.if.org Git - postgresql/commit
Remove old-style VACUUM FULL (which was known for a little while as
authorTom Lane <tgl@sss.pgh.pa.us>
Mon, 8 Feb 2010 04:33:55 +0000 (04:33 +0000)
committerTom Lane <tgl@sss.pgh.pa.us>
Mon, 8 Feb 2010 04:33:55 +0000 (04:33 +0000)
commit0a469c87692d15a22eaa69d4b3a43dd8e278dd64
tree34353dece3a2a8da2c599562685831bdcb14080e
parent1ddc2703a936d03953657f43345460b9242bbed1
Remove old-style VACUUM FULL (which was known for a little while as
VACUUM FULL INPLACE), along with a boatload of subsidiary code and complexity.
Per discussion, the use case for this method of vacuuming is no longer large
enough to justify maintaining it; not to mention that we don't wish to invest
the work that would be needed to make it play nicely with Hot Standby.

Aside from the code directly related to old-style VACUUM FULL, this commit
removes support for certain WAL record types that could only be generated
within VACUUM FULL, redirect-pointer removal in heap_page_prune, and
nontransactional generation of cache invalidation sinval messages (the last
being the sticking point for Hot Standby).

We still have to retain all code that copes with finding HEAP_MOVED_OFF and
HEAP_MOVED_IN flag bits on existing tuples.  This can't be removed as long
as we want to support in-place update from pre-9.0 databases.
41 files changed:
doc/src/sgml/indexam.sgml
doc/src/sgml/maintenance.sgml
doc/src/sgml/ref/vacuum.sgml
doc/src/sgml/ref/vacuumdb.sgml
src/backend/access/gin/README
src/backend/access/gin/ginvacuum.c
src/backend/access/gist/gistvacuum.c
src/backend/access/heap/README.HOT
src/backend/access/heap/heapam.c
src/backend/access/heap/pruneheap.c
src/backend/access/nbtree/README
src/backend/access/nbtree/nbtpage.c
src/backend/access/nbtree/nbtree.c
src/backend/access/nbtree/nbtxlog.c
src/backend/access/transam/xact.c
src/backend/access/transam/xlog.c
src/backend/catalog/index.c
src/backend/commands/analyze.c
src/backend/commands/copy.c
src/backend/commands/vacuum.c
src/backend/commands/vacuumlazy.c
src/backend/executor/execUtils.c
src/backend/executor/nodeModifyTable.c
src/backend/parser/gram.y
src/backend/storage/lmgr/proc.c
src/backend/utils/cache/inval.c
src/backend/utils/time/tqual.c
src/bin/scripts/vacuumdb.c
src/include/access/genam.h
src/include/access/heapam.h
src/include/access/htup.h
src/include/access/nbtree.h
src/include/access/xact.h
src/include/access/xlog.h
src/include/commands/vacuum.h
src/include/executor/executor.h
src/include/nodes/parsenodes.h
src/include/parser/kwlist.h
src/include/utils/inval.h
src/test/regress/expected/vacuum.out
src/test/regress/sql/vacuum.sql