Content-Length: 259000 | pFad | http://github.com/postgrespro/postgres_cluster/commit/60d931827b0c37fbce74d04e45d0220d57ddd06a

8F Oops, fix recoveryStopsBefore functions for regular commits. · postgrespro/postgres_cluster@60d9318 · GitHub
Skip to content

Commit 60d9318

Browse files
committed
Oops, fix recoveryStopsBefore functions for regular commits.
Pointed out by Tom Lane. Backpatch to 9.4, the code was structured differently in earlier branches and didn't have this mistake.
1 parent e74e090 commit 60d9318

File tree

1 file changed

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

1 file changed

+1
-1
lines changed

src/backend/access/transam/xlog.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5515,7 +5515,7 @@ recoveryStopsBefore(XLogRecord *record)
55155515
isCommit = true;
55165516
recordXid = record->xl_xid;
55175517
}
5518-
if (record_info == XLOG_XACT_COMMIT_PREPARED)
5518+
else if (record_info == XLOG_XACT_COMMIT_PREPARED)
55195519
{
55205520
isCommit = true;
55215521
recordXid = ((xl_xact_commit_prepared *) XLogRecGetData(record))->xid;

0 commit comments

Comments
 (0)








ApplySandwichStrip

pFad - (p)hone/(F)rame/(a)nonymizer/(d)eclutterfier!      Saves Data!


--- a PPN by Garber Painting Akron. With Image Size Reduction included!

Fetched URL: http://github.com/postgrespro/postgres_cluster/commit/60d931827b0c37fbce74d04e45d0220d57ddd06a

Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy