projects
/
users
/
bernd
/
postgres.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
fc3f1f7
)
Back-patch fix to ensure pg_clog updates are not only written but sync'ed
author
Tom Lane
<tgl@sss.pgh.pa.us>
Tue, 21 Jan 2003 19:51:42 +0000
(19:51 +0000)
committer
Tom Lane
<tgl@sss.pgh.pa.us>
Tue, 21 Jan 2003 19:51:42 +0000
(19:51 +0000)
before we consider the checkpoint to be done.
src/backend/access/transam/xlog.c
patch
|
blob
|
blame
|
history
diff --git
a/src/backend/access/transam/xlog.c
b/src/backend/access/transam/xlog.c
index a5f168cbf7f2f1f6910f4b883c7e0bc3979fb440..be67fd91030a38f8bd6b87601dcc52b3f8065df3 100644
(file)
--- a/
src/backend/access/transam/xlog.c
+++ b/
src/backend/access/transam/xlog.c
@@
-3052,12
+3052,10
@@
CreateCheckPoint(bool shutdown, bool force)
/*
* Having constructed the checkpoint record, ensure all shmem disk
- * buffers are flushed to disk.
+ * buffers a
nd commit-log buffers a
re flushed to disk.
*/
- FlushBufferPool();
-
- /* And commit-log buffers, too */
CheckPointCLOG();
+ FlushBufferPool();
/*
* Now insert the checkpoint record into XLOG.