Fix oversight in async-commit patch: there were some places in heapam.c

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

Commit: 67f99d216a16991ade1fd8479cc01f7abb4c29ee
Author: Tom Lane <tgl@sss.pgh.pa.us>
Date: 2007-08-14T17:35:18Z
Releases: 8.3.0
Fix oversight in async-commit patch: there were some places in heapam.c
that still thought they could set HEAP_XMAX_COMMITTED immediately after
seeing the other transaction commit.  Make them use the same logic as
tqual.c does to determine if the hint bit can be set yet.

Files

PathChange+/−
src/backend/access/heap/heapam.c modified +35 −31
src/backend/utils/time/tqual.c modified +158 −140
src/include/utils/tqual.h modified +4 −1