diff options
author | Michael Paquier <michael@paquier.xyz> | 2021-06-30 11:49:36 +0900 |
---|---|---|
committer | Michael Paquier <michael@paquier.xyz> | 2021-06-30 11:49:36 +0900 |
commit | 68bad2333f7a4436861ec283b030578decca50bf (patch) | |
tree | 9d46a4c888f7ab84a3df61e86a6aefccf2cf91a4 /src | |
parent | b54be47cdc2d225d8134b197edae9c075146e76d (diff) |
Fix incorrect PITR message for transaction ROLLBACK PREPARED
Reaching PITR on such a transaction would cause the generation of a LOG
message mentioning a transaction committed, not aborted.
Oversight in 4f1b890.
Author: Simon Riggs
Discussion: https://postgr.es/m/CANbhV-GJ6KijeCgdOrxqMCQ+C8QiK657EMhCy4csjrPcEUFv_Q@mail.gmail.com
Backpatch-through: 9.6
Diffstat (limited to 'src')
-rw-r--r-- | src/backend/access/transam/xlog.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/backend/access/transam/xlog.c b/src/backend/access/transam/xlog.c index 7bcb3087e27..14f1a1e26f5 100644 --- a/src/backend/access/transam/xlog.c +++ b/src/backend/access/transam/xlog.c @@ -5551,7 +5551,7 @@ recoveryStopsBefore(XLogReaderState *record) xl_xact_abort *xlrec = (xl_xact_abort *) XLogRecGetData(record); xl_xact_parsed_abort parsed; - isCommit = true; + isCommit = false; ParseAbortRecord(XLogRecGetInfo(record), xlrec, &parsed); |