1
0
mirror of https://github.com/postgres/postgres.git synced 2025-11-10 17:42:29 +03:00

pg_fsync is fsync in WAL version.

This commit is contained in:
Vadim B. Mikheev
2000-11-10 03:53:45 +00:00
parent ddeab22565
commit 92875e6f44
4 changed files with 25 additions and 4 deletions

View File

@@ -8,7 +8,7 @@
*
*
* IDENTIFICATION
* $Header: /cvsroot/pgsql/src/backend/storage/buffer/Attic/xlog_bufmgr.c,v 1.2 2000/11/08 22:09:59 tgl Exp $
* $Header: /cvsroot/pgsql/src/backend/storage/buffer/Attic/xlog_bufmgr.c,v 1.3 2000/11/10 03:53:44 vadim Exp $
*
*-------------------------------------------------------------------------
*/
@@ -1065,6 +1065,9 @@ void
BufmgrCommit(void)
{
LocalBufferSync();
/*
* All files created in current transaction will be fsync-ed
*/
smgrcommit();
}