Re: Small Bug in GetConflictingVirtualXIDs

From: Simon Riggs <simon(at)2ndQuadrant(dot)com>
To: Andres Freund <andres(at)anarazel(dot)de>
Cc: pgsql-hackers(at)postgresql(dot)org
Subject: Re: Small Bug in GetConflictingVirtualXIDs
Date: 2009-12-21 07:46:39
Message-ID: 1261381599.17644.1803.camel@ebony
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: 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

In response to

Browse pgsql-hackers by date

  From Date Subject
Next Message Heikki Linnakangas 2009-12-21 08:55:57 Re: alpha3 release schedule?
Previous Message Pavel Stehule 2009-12-21 06:03:18 Re: using separate parameters in psql query execution