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 -- Sent via pgsql-hackers mailing list (pgsql-hackers@postgresql.org) To make changes to your subscription: http://www.postgresql.org/mailpref/pgsql-hackers