Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

Commit 68bad23

Browse filesBrowse files
committed
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
1 parent b54be47 commit 68bad23
Copy full SHA for 68bad23

File tree

1 file changed

+1
-1
lines changed
Filter options
  • src/backend/access/transam

1 file changed

+1
-1
lines changed

‎src/backend/access/transam/xlog.c

Copy file name to clipboardExpand all lines: src/backend/access/transam/xlog.c
+1-1Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5551,7 +5551,7 @@ recoveryStopsBefore(XLogReaderState *record)
55515551
xl_xact_abort *xlrec = (xl_xact_abort *) XLogRecGetData(record);
55525552
xl_xact_parsed_abort parsed;
55535553

5554-
isCommit = true;
5554+
isCommit = false;
55555555
ParseAbortRecord(XLogRecGetInfo(record),
55565556
xlrec,
55575557
&parsed);

0 commit comments

Comments
0 (0)
Morty Proxy This is a proxified and sanitized view of the page, visit original site.