Thread: pgsql/src backend/access/transam/Tag: backend/ ...

pgsql/src backend/access/transam/Tag: backend/ ...

From
tgl@postgresql.org (Tom Lane)
Date:
CVSROOT:    /cvsroot
Module name:    pgsql
Changes by:    tgl@postgresql.org    02/03/15 14:20:47

Modified files:
    src/backend/access/transam: Tag: REL7_2_STABLE xact.c xlog.c
    src/backend/bootstrap: Tag: REL7_2_STABLE bootstrap.c
    src/backend/commands: Tag: REL7_2_STABLE sequence.c
    src/backend/postmaster: Tag: REL7_2_STABLE postmaster.c
    src/include/access: Tag: REL7_2_STABLE 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.