]> git.ipfire.org Git - thirdparty/postgresql.git/commit
Repair two problems with WAL logging of sequence nextvalI() ops, as
authorTom Lane <tgl@sss.pgh.pa.us>
Fri, 15 Mar 2002 19:20:47 +0000 (19:20 +0000)
committerTom Lane <tgl@sss.pgh.pa.us>
Fri, 15 Mar 2002 19:20:47 +0000 (19:20 +0000)
commit94a41d132631f31646b81e3307c3c8d28682a4e9
tree21ffd89a598105920d4fd0f19ce79f7faea5e5ca
parent44d7f153aeec5f7e541c2d56e2c2a13e72ec3ea8
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