diff options
| author | Tom Lane | 2005-03-18 16:16:09 +0000 |
|---|---|---|
| committer | Tom Lane | 2005-03-18 16:16:09 +0000 |
| commit | 88164799ce8eaf7f1e019967926200caa9ae856c (patch) | |
| tree | 4d986b4bfb4f3c266fdd4d2ee6ae02abb6343cf8 /src/include | |
| parent | 1f418555cf959e9761d965696304ce3bf239a943 (diff) | |
Need to reset local buffer pin counts, not only shared buffer pins,
before we attempt any file deletions in ShutdownPostgres. Per Tatsuo.
Diffstat (limited to 'src/include')
| -rw-r--r-- | src/include/storage/bufmgr.h | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/include/storage/bufmgr.h b/src/include/storage/bufmgr.h index 5fb706f5958..9268335b026 100644 --- a/src/include/storage/bufmgr.h +++ b/src/include/storage/bufmgr.h @@ -7,7 +7,7 @@ * Portions Copyright (c) 1996-2005, PostgreSQL Global Development Group * Portions Copyright (c) 1994, Regents of the University of California * - * $PostgreSQL: pgsql/src/include/storage/bufmgr.h,v 1.90 2005/03/04 20:21:07 tgl Exp $ + * $PostgreSQL: pgsql/src/include/storage/bufmgr.h,v 1.91 2005/03/18 16:16:09 tgl Exp $ * *------------------------------------------------------------------------- */ @@ -158,6 +158,7 @@ extern void BufferSync(void); extern void BgBufferSync(void); extern void InitLocalBuffer(void); +extern void AtProcExit_LocalBuffers(void); /* in freelist.c */ extern void StrategyHintVacuum(bool vacuum_active); |
