Teach autovacuum how to determine whether a temp table belongs to a crashed
authorTom Lane <tgl@sss.pgh.pa.us>
Tue, 1 Jul 2008 02:09:34 +0000 (02:09 +0000)
committerTom Lane <tgl@sss.pgh.pa.us>
Tue, 1 Jul 2008 02:09:34 +0000 (02:09 +0000)
commit0a8c7d72da8174eeb290aa4ec009e736f73bab5a
treeb2efeb0e5b654e1f2e9da77c99864041f65b28b9
parente4c18ed715037c419014ffdc9d692fba0ae8b52b
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