Repair incorrect order of operations in GetNewTransactionId(). We must

Tom Lane <tgl@sss.pgh.pa.us>

Commit: a51d4b8dc02b777080e6250b7164f5961cc59c84
Author: Tom Lane <tgl@sss.pgh.pa.us>
Date: 2004-01-26T19:16:23Z
Releases: 7.4.2
Repair incorrect order of operations in GetNewTransactionId().  We must
complete ExtendCLOG() before advancing nextXid, so that if that routine
fails, the next incoming transaction will try it again.  Per trouble
report from Christopher Kings-Lynne.

Files

PathChange+/−
src/backend/access/transam/varsup.c modified +11 −5