diff options
author | Tom Lane <tgl@sss.pgh.pa.us> | 2008-07-01 02:09:34 +0000 |
---|---|---|
committer | Tom Lane <tgl@sss.pgh.pa.us> | 2008-07-01 02:09:34 +0000 |
commit | 5b965bf08bfb4aa8928bafaed20e42b89de02a5c (patch) | |
tree | 5e8098d46cda226eb35aa38229d97a2258674b24 /src/include/storage/sinvaladt.h | |
parent | 92d1cc89738e70a01e7c095f2315e80b9c4ef900 (diff) |
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.
Diffstat (limited to 'src/include/storage/sinvaladt.h')
-rw-r--r-- | src/include/storage/sinvaladt.h | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/include/storage/sinvaladt.h b/src/include/storage/sinvaladt.h index 1748f8821b4..abf243601c7 100644 --- a/src/include/storage/sinvaladt.h +++ b/src/include/storage/sinvaladt.h @@ -15,7 +15,7 @@ * Portions Copyright (c) 1996-2008, PostgreSQL Global Development Group * Portions Copyright (c) 1994, Regents of the University of California * - * $PostgreSQL: pgsql/src/include/storage/sinvaladt.h,v 1.48 2008/06/19 21:32:56 tgl Exp $ + * $PostgreSQL: pgsql/src/include/storage/sinvaladt.h,v 1.49 2008/07/01 02:09:34 tgl Exp $ * *------------------------------------------------------------------------- */ @@ -30,6 +30,7 @@ extern Size SInvalShmemSize(void); extern void CreateSharedInvalidationState(void); extern void SharedInvalBackendInit(void); +extern bool BackendIdIsActive(int backendID); extern void SIInsertDataEntries(const SharedInvalidationMessage *data, int n); extern int SIGetDataEntries(SharedInvalidationMessage *data, int datasize); |