Re: Sync Rep v19 - Mailing list pgsql-hackers

From Simon Riggs
Subject Re: Sync Rep v19
Date
Msg-id 1299236897.10703.3783.camel@ebony
Whole thread Raw
In response to Re: Sync Rep v19  (Simon Riggs <simon@2ndQuadrant.com>)
List pgsql-hackers
On Fri, 2011-03-04 at 10:51 +0000, Simon Riggs wrote:

> > +            else if (timeout > 0 &&
> > +                TimestampDifferenceExceeds(GetCurrentTransactionStopTimestamp(),
> > +                                            wait_start, timeout))
> > 
> > If SetCurrentTransactionStopTimestamp() is called before (i.e., COMMIT case),
> > the return value of GetCurrentTransactionStopTimestamp() is the same as
> > "wait_start". So, in this case, the timeout never expires.
> 
> Don't understand (still)

OK, coffee has seeped into brain now, thanks.

-- Simon Riggs           http://www.2ndQuadrant.com/books/PostgreSQL Development, 24x7 Support, Training and Services



pgsql-hackers by date:

Previous
From: Simon Riggs
Date:
Subject: Re: Sync Rep v19
Next
From: Yeb Havinga
Date:
Subject: Re: Sync Rep v19