Re: Sync Rep v19

From: Simon Riggs <simon(at)2ndQuadrant(dot)com>
To: Fujii Masao <masao(dot)fujii(at)gmail(dot)com>
Cc: pgsql-hackers(at)postgresql(dot)org
Subject: Re: Sync Rep v19
Date: 2011-03-04 11:08:17
Message-ID: 1299236897.10703.3783.camel@ebony
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: 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

In response to

Browse pgsql-hackers by date

  From Date Subject
Next Message Yeb Havinga 2011-03-04 11:24:06 Re: Sync Rep v19
Previous Message Simon Riggs 2011-03-04 10:51:03 Re: Sync Rep v19