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.
Showing
- src/backend/catalog/namespace.c 27 additions, 1 deletionsrc/backend/catalog/namespace.c
- src/backend/postmaster/autovacuum.c 77 additions, 65 deletionssrc/backend/postmaster/autovacuum.c
- src/backend/storage/ipc/sinvaladt.c 28 additions, 1 deletionsrc/backend/storage/ipc/sinvaladt.c
- src/include/catalog/namespace.h 2 additions, 1 deletionsrc/include/catalog/namespace.h
- src/include/storage/sinvaladt.h 2 additions, 1 deletionsrc/include/storage/sinvaladt.h
Loading
Please register or sign in to comment