OSDN Git Service

>> If a transaction marks a tuple for update and later commits without
authorBruce Momjian <bruce@momjian.us>
Wed, 25 Jun 2003 01:08:13 +0000 (01:08 +0000)
committerBruce Momjian <bruce@momjian.us>
Wed, 25 Jun 2003 01:08:13 +0000 (01:08 +0000)
commitdd23a882fad306c54e192d5f60e459c691d996af
treebd6ef73483b733f279a8e698b993ac8d589dcfff
parentfce529e102c40c9a73a5e574de75f677d9104d9b
>> 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
src/backend/utils/adt/inet_net_ntop.c
src/backend/utils/time/tqual.c