Alvaro Herrera <alvherre(at)commandprompt(dot)com> writes:
> Simon Riggs wrote:
>> SnapshotResetXmin is called 3 times after each statement in
>> ReadCommitted mode.
> Maybe we could check whether TransState is not TRANS_INPROGRESS and skip
> it in those cases ...?
Surely this would take longer than the function itself does. What's
the point of worrying at all?
regards, tom lane