Reorder snapshot checks to save a couple comparisons in the common case,
authorTom Lane <tgl@sss.pgh.pa.us>
Mon, 6 May 2002 02:39:01 +0000 (02:39 +0000)
committerTom Lane <tgl@sss.pgh.pa.us>
Mon, 6 May 2002 02:39:01 +0000 (02:39 +0000)
commitd46e4ef45947ed65ff7fdc208b327c9798d031e2
tree7b6fe830890da69b628c2a470b33b1ad691cfa7f
parenta807e4dad16962ff8518550d8576b79e6e97d11e
Reorder snapshot checks to save a couple comparisons in the common case,
where the tuple's xmin or xmax is older than the snapshot xmin.  There
is no need to check it against snapshot xmax in that case.
src/backend/utils/time/tqual.c