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

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

Commit: be11fa26e37f798be7d948b5ebbd3adf5e9aeb73
Author: Tom Lane <tgl@sss.pgh.pa.us>
Date: 2004-01-26T19:15:59Z
Releases: 8.0.0
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