]> granicus.if.org Git - postgresql/commit
Modify snapshot definition so that lazy vacuums are ignored by other
authorAlvaro Herrera <alvherre@alvh.no-ip.org>
Sun, 30 Jul 2006 02:07:18 +0000 (02:07 +0000)
committerAlvaro Herrera <alvherre@alvh.no-ip.org>
Sun, 30 Jul 2006 02:07:18 +0000 (02:07 +0000)
commit92c2ecc130239b38580b5c11c532d2e027fc2d06
tree2bf07845ef589b6e60b63603bdaae04cf1021357
parentd6603791eac6b3153c0078335faec458598b4de9
Modify snapshot definition so that lazy vacuums are ignored by other
vacuums.  This allows a OLTP-like system with big tables to continue
regular vacuuming on small-but-frequently-updated tables while the
big tables are being vacuumed.

Original patch from Hannu Krossing, rewritten by Tom Lane and updated
by me.
src/backend/access/transam/twophase.c
src/backend/access/transam/xact.c
src/backend/access/transam/xlog.c
src/backend/catalog/index.c
src/backend/commands/vacuum.c
src/backend/storage/ipc/procarray.c
src/backend/storage/lmgr/proc.c
src/include/storage/proc.h
src/include/storage/procarray.h