diff options
| author | Tom Lane | 2001-07-06 21:04:26 +0000 |
|---|---|---|
| committer | Tom Lane | 2001-07-06 21:04:26 +0000 |
| commit | 55432fedd2b3383c0cd0724a70ad0ae5134710f3 (patch) | |
| tree | d6aa387a59107c56fd2d4fdfa6c7b12320bd0d70 /src/include/storage/sinval.h | |
| parent | 1e9e5defc256708ca40009640d337baeca5698ec (diff) | |
Implement LockBufferForCleanup(), which will allow concurrent VACUUM
to wait until it's safe to remove tuples and compact free space in a
shared buffer page. Miscellaneous small code cleanups in bufmgr, too.
Diffstat (limited to 'src/include/storage/sinval.h')
| -rw-r--r-- | src/include/storage/sinval.h | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/src/include/storage/sinval.h b/src/include/storage/sinval.h index 7d43c645780..11aad609573 100644 --- a/src/include/storage/sinval.h +++ b/src/include/storage/sinval.h @@ -7,13 +7,14 @@ * Portions Copyright (c) 1996-2001, PostgreSQL Global Development Group * Portions Copyright (c) 1994, Regents of the University of California * - * $Id: sinval.h,v 1.19 2001/06/19 19:42:16 tgl Exp $ + * $Id: sinval.h,v 1.20 2001/07/06 21:04:26 tgl Exp $ * *------------------------------------------------------------------------- */ #ifndef SINVAL_H #define SINVAL_H +#include "storage/backendid.h" #include "storage/itemptr.h" #include "storage/spin.h" @@ -77,5 +78,7 @@ extern bool DatabaseHasActiveBackends(Oid databaseId, bool ignoreMyself); extern bool TransactionIdIsInProgress(TransactionId xid); extern void GetXmaxRecent(TransactionId *XmaxRecent); extern int CountActiveBackends(void); +/* Use "struct proc", not PROC, to avoid including proc.h here */ +extern struct proc *BackendIdGetProc(BackendId procId); #endif /* SINVAL_H */ |
