pgsql/ rc/include/access/xlog.h rc/backend/acc ...
pgsql/ rc/include/access/xlog.h rc/backend/acc ...
От:
Tom Lane <tgl@hub.org>
Дата:
CVSROOT: /home/projects/pgsql/cvsroot Module name: pgsql Changes by: tgl@hub.org 01/03/16 00:44:34 Modified files: src/include/access: xlog.h src/backend/access/transam: xlog.c src/backend/utils/misc: guc.c postgresql.conf.sample doc/src/sgml : wal.sgml runtime.sgml Log message: Support syncing WAL log to disk using either fsync(), fdatasync(), O_SYNC, or O_DSYNC (as available on a given platform). Add GUC parameter to control sync method. Also, add defense to XLogWrite to prevent it from going nuts if passed a target write position that's past the end of the buffers so far filled by XLogInsert.