pgsql/src backend/access/transam/xact.c backen ...
pgsql/src backend/access/transam/xact.c backen ...
От:
tgl@postgresql.org (Tom Lane)
Дата:
CVSROOT: /cvsroot Module name: pgsql Changes by: tgl@postgresql.org 02/03/15 14:20:36 Modified files: src/backend/access/transam: xact.c xlog.c src/backend/bootstrap: bootstrap.c src/backend/commands: sequence.c src/backend/postmaster: postmaster.c src/include/access: xlog.h Log message: Repair two problems with WAL logging of sequence nextvalI() ops, as per recent pghackers discussion: force a new WAL record at first nextval after a checkpoint, and ensure that xlog is flushed to disk if a nextval record is the only thing emitted by a transaction.