OSDN Git Service

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)
commit1cf693ab86b3c3952b441de5f57d9a9e0a925b12
tree1c3f6b1d9ddba6cebb74155e46fb52db1716df75
parent205b5c2f4bebfeced12a0fb1664c289ffabda258
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