]> granicus.if.org Git - postgresql/commit
Add -F option to pg_receivexlog, for specifying fsync interval.
authorFujii Masao <fujii@postgresql.org>
Fri, 8 Aug 2014 07:50:54 +0000 (16:50 +0900)
committerFujii Masao <fujii@postgresql.org>
Fri, 8 Aug 2014 07:50:54 +0000 (16:50 +0900)
commit3dad73e71f08abd86564d5090a58ca71740e07e0
tree3e1f545c5ed8c6bfb9969fa0028f540d953adea5
parent1add956ac70384a99ed6606e2963a5a53f567add
Add -F option to pg_receivexlog, for specifying fsync interval.

This allows us to specify the maximum time to issue fsync to ensure
the received WAL file is safely flushed to disk. Without this,
pg_receivexlog always flushes WAL file only when it's closed and
which can cause WAL data to be lost at the event of a crash.

Furuya Osamu, heavily modified by me.
doc/src/sgml/ref/pg_receivexlog.sgml
src/bin/pg_basebackup/pg_basebackup.c
src/bin/pg_basebackup/pg_receivexlog.c
src/bin/pg_basebackup/receivelog.c
src/bin/pg_basebackup/receivelog.h