Re: SnapshotResetXmin - Mailing list pgsql-hackers

From Tom Lane
Subject Re: SnapshotResetXmin
Date
Msg-id 7859.1232126013@sss.pgh.pa.us
Whole thread Raw
In response to Re: SnapshotResetXmin  (Alvaro Herrera <alvherre@commandprompt.com>)
Responses Re: SnapshotResetXmin  (Simon Riggs <simon@2ndQuadrant.com>)
List pgsql-hackers
Alvaro Herrera <alvherre@commandprompt.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


pgsql-hackers by date:

Previous
From: David Fetter
Date:
Subject: Re: [GENERAL] Question regarding new windowing functions in 8.4devel
Next
From: "David E. Wheeler"
Date:
Subject: Re: FWD: Re: Updated backslash consistency patch