Teach autovacuum how to determine whether a temp table belongs to a crashed
commit3e7ba2beee7a3480d51040b30e7744d5f4d06055
authortgl <tgl>
Tue, 1 Jul 2008 02:09:34 +0000 (1 02:09 +0000)
committertgl <tgl>
Tue, 1 Jul 2008 02:09:34 +0000 (1 02:09 +0000)
treec654f0e4e1b3610690ecf27a9204e2043295b02a
parent8f64399075c630477332141e11f9de06448a4fe7
Teach autovacuum how to determine whether a temp table belongs to a crashed
backend.  If so, send a LOG message to the postmaster log, and if the table
is beyond the vacuum-for-wraparound horizon, forcibly drop it.  Per recent
discussions.  Perhaps we ought to back-patch this, but it probably needs
to age a bit in HEAD first.
src/backend/catalog/namespace.c
src/backend/postmaster/autovacuum.c
src/backend/storage/ipc/sinvaladt.c
src/include/catalog/namespace.h
src/include/storage/sinvaladt.h