Re: Optimizing GetConflictingVirtualXIDs() - Mailing list pgsql-hackers

From Tom Lane
Subject Re: Optimizing GetConflictingVirtualXIDs()
Date
Msg-id 22777.1266169550@sss.pgh.pa.us
Whole thread Raw
In response to Re: Optimizing GetConflictingVirtualXIDs()  (Simon Riggs <simon@2ndQuadrant.com>)
List pgsql-hackers
Simon Riggs <simon@2ndQuadrant.com> writes:
> On Sun, 2010-02-14 at 17:06 +0000, Greg Stark wrote:
>> EINSUFFICIENTEXPLANATION :)

> ...I like that error code.

I think more EINSUFFICIENTCOMMENTS.  The patch should also add a comment
to the function, along the lines of "While we have the lock, also update
RecentGlobalXmin, so that we will have as up-to-date a value as possible
for next time".  You've also failed to document the meaning or purpose
of the added output parameter.
        regards, tom lane


pgsql-hackers by date:

Previous
From: Simon Riggs
Date:
Subject: Re: Listen / Notify - what to do when the queue is full
Next
From: Tom Lane
Date:
Subject: Re: CommitFest Status Summary - 2010-02-14