Fix oversight in async-commit patch: there were some places in heapam.c
Tom Lane <tgl@sss.pgh.pa.us>
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
| Path | Change | +/− |
|---|---|---|
| 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 |