>> If a transaction marks a tuple for update and later commits without

Bruce Momjian <bruce@momjian.us>

Commit: dd23a882fad306c54e192d5f60e459c691d996af
Author: Bruce Momjian <bruce@momjian.us>
Date: 2003-06-25T01:08:13Z
Releases: 7.4.1
>> If a transaction marks a tuple for update and later commits without
>> actually having updated the tuple, [...] can we simply
>> set the HEAP_XMAX_INVALID hint bit of the tuple?
>
>AFAICS this is a reasonable thing to do.

Thanks for the confirmation.  Here's a patch which also contains some
more noncritical changes to tqual.c:
 .  make code more readable by introducing local variables for xvac
 .  no longer two separate branches for aborted and crashed.
    The actions were the same in all cases.

Manfred Koizar

Files

PathChange+/−
src/backend/utils/adt/inet_net_ntop.c modified +3 −3
src/backend/utils/time/tqual.c modified +81 −66