diff options
author | Tom Lane <tgl@sss.pgh.pa.us> | 2005-03-18 16:16:20 +0000 |
---|---|---|
committer | Tom Lane <tgl@sss.pgh.pa.us> | 2005-03-18 16:16:20 +0000 |
commit | 817bc021b76a8d34a8947be5ff037b27778c651f (patch) | |
tree | a23e2bc3999ec10d4d9fa0c48a78680520a4a8e3 /src/include/storage/bufmgr.h | |
parent | fc80f5fe73f6772077493f20b41966d6fe7c957f (diff) | |
download | postgresql-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.h | 3 |
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 |