aboutsummaryrefslogtreecommitdiff
path: root/src/include/storage/bufmgr.h
diff options
context:
space:
mode:
authorTom Lane <tgl@sss.pgh.pa.us>2005-03-18 16:16:20 +0000
committerTom Lane <tgl@sss.pgh.pa.us>2005-03-18 16:16:20 +0000
commit817bc021b76a8d34a8947be5ff037b27778c651f (patch)
treea23e2bc3999ec10d4d9fa0c48a78680520a4a8e3 /src/include/storage/bufmgr.h
parentfc80f5fe73f6772077493f20b41966d6fe7c957f (diff)
downloadpostgresql-817bc021b76a8d34a8947be5ff037b27778c651f.tar.gz
postgresql-817bc021b76a8d34a8947be5ff037b27778c651f.zip
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/storage/bufmgr.h')
-rw-r--r--src/include/storage/bufmgr.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/include/storage/bufmgr.h b/src/include/storage/bufmgr.h
index 4ac499cf350..34582828d50 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.89 2004/12/31 22:03:42 pgsql Exp $
+ * $PostgreSQL: pgsql/src/include/storage/bufmgr.h,v 1.89.4.1 2005/03/18 16:16:20 tgl Exp $
*
*-------------------------------------------------------------------------
*/
@@ -153,5 +153,6 @@ extern void BufmgrCommit(void);
extern int BufferSync(int percent, int maxpages);
extern void InitLocalBuffer(void);
+extern void AtProcExit_LocalBuffers(void);
#endif