Re: Small Bug in GetConflictingVirtualXIDs - Mailing list pgsql-hackers

From Simon Riggs
Subject Re: Small Bug in GetConflictingVirtualXIDs
Date
Msg-id 1261381599.17644.1803.camel@ebony
Whole thread Raw
In response to Small Bug in GetConflictingVirtualXIDs  (Andres Freund <andres@anarazel.de>)
List pgsql-hackers
On Mon, 2009-12-21 at 04:02 +0100, Andres Freund wrote:

> The logic behind this seems fine except in the case of dropping a database. 
> There you very well might have a open connection without an open snapshot.

Yes, you're right, thanks for the report. 

I re-arranged the logic there recently to reduce the number of backends
that would conflict, so it looks like I broke that case when I did
that. 

> Should easily be solvable through an extra parameter for 
> GetConflictingVirtualXIDs. Want me to prepare a patch?

Much appreciated, thanks.

-- Simon Riggs           www.2ndQuadrant.com



pgsql-hackers by date:

Previous
From: Pavel Stehule
Date:
Subject: Re: using separate parameters in psql query execution
Next
From: Heikki Linnakangas
Date:
Subject: Re: alpha3 release schedule?