OSDN Git Service

Repair two problems with WAL logging of sequence nextvalI() ops, as
authorTom Lane <tgl@sss.pgh.pa.us>
Fri, 15 Mar 2002 19:20:36 +0000 (19:20 +0000)
committerTom Lane <tgl@sss.pgh.pa.us>
Fri, 15 Mar 2002 19:20:36 +0000 (19:20 +0000)
commit01747692fe133305b03ccd7505e92b1d18c3ea1b
tree8ce3874c350868ed1d0054acb93919bb52aba2de
parent0b73fe14f18126d534d4dfb83b8317da8a951fae
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.
src/backend/access/transam/xact.c
src/backend/access/transam/xlog.c
src/backend/bootstrap/bootstrap.c
src/backend/commands/sequence.c
src/backend/postmaster/postmaster.c
src/include/access/xlog.h