-
- Downloads
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.
Showing
- src/backend/access/transam/xact.c 47 additions, 29 deletionssrc/backend/access/transam/xact.c
- src/backend/access/transam/xlog.c 61 additions, 25 deletionssrc/backend/access/transam/xlog.c
- src/backend/bootstrap/bootstrap.c 2 additions, 2 deletionssrc/backend/bootstrap/bootstrap.c
- src/backend/commands/sequence.c 29 additions, 7 deletionssrc/backend/commands/sequence.c
- src/backend/postmaster/postmaster.c 2 additions, 2 deletionssrc/backend/postmaster/postmaster.c
- src/include/access/xlog.h 6 additions, 3 deletionssrc/include/access/xlog.h
Loading
Please register or sign in to comment