Re: SnapshotResetXmin

From: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
To: Alvaro Herrera <alvherre(at)commandprompt(dot)com>
Cc: Simon Riggs <simon(at)2ndQuadrant(dot)com>, pgsql-hackers <pgsql-hackers(at)postgresql(dot)org>
Subject: Re: SnapshotResetXmin
Date: 2009-01-16 17:13:33
Message-ID: 7859.1232126013@sss.pgh.pa.us
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

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

In response to

Responses

Browse pgsql-hackers by date

  From Date Subject
Next Message David E. Wheeler 2009-01-16 17:14:49 Re: FWD: Re: Updated backslash consistency patch
Previous Message David Fetter 2009-01-16 17:07:32 Re: Question regarding new windowing functions in 8.4devel