diff options
| author | Tom Lane <tgl@sss.pgh.pa.us> | 2005-08-08 03:12:16 +0000 |
|---|---|---|
| committer | Tom Lane <tgl@sss.pgh.pa.us> | 2005-08-08 03:12:16 +0000 |
| commit | 7117cd3a77afcf76b6488bd3e1d06f3160595027 (patch) | |
| tree | 0d2feadbd044021b3cc8b5a89a68a6e720bb0afb /src/include/storage/bufmgr.h | |
| parent | 89439b8c4fabf8e882f55c87979512af081f370b (diff) | |
| download | postgresql-7117cd3a77afcf76b6488bd3e1d06f3160595027.tar.gz | |
Cause ShutdownPostgres to do a normal transaction abort during backend
exit, instead of trying to take shortcuts. Introduce some additional
shutdown callback routines to eliminate kluges like having ProcKill
be responsible for shutting down the buffer manager. Ensure that the
order of operations during shutdown is predictable and what you would
expect given the module layering.
Diffstat (limited to 'src/include/storage/bufmgr.h')
| -rw-r--r-- | src/include/storage/bufmgr.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/include/storage/bufmgr.h b/src/include/storage/bufmgr.h index b77c3cc467..eb7268edfc 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.93 2005/03/20 22:00:54 tgl Exp $ + * $PostgreSQL: pgsql/src/include/storage/bufmgr.h,v 1.94 2005/08/08 03:12:16 tgl Exp $ * *------------------------------------------------------------------------- */ @@ -123,10 +123,10 @@ extern Buffer ReleaseAndReadBuffer(Buffer buffer, Relation relation, extern void InitBufferPool(void); extern void InitBufferPoolAccess(void); +extern void InitBufferPoolBackend(void); extern char *ShowBufferUsage(void); extern void ResetBufferUsage(void); extern void AtEOXact_Buffers(bool isCommit); -extern void AtProcExit_Buffers(void); extern void PrintBufferLeakWarning(Buffer buffer); extern void FlushBufferPool(void); extern BlockNumber BufferGetBlockNumber(Buffer buffer); |
