Re: [BUGS] Status of issue 4593 - Mailing list pgsql-hackers

From Kevin Grittner
Subject Re: [BUGS] Status of issue 4593
Date
Msg-id 496B3F3D.EE98.0025.0@wicourts.gov
Whole thread Raw
In response to Re: [BUGS] Status of issue 4593  (Tom Lane <tgl@sss.pgh.pa.us>)
Responses Re: [BUGS] Status of issue 4593  (Tom Lane <tgl@sss.pgh.pa.us>)
Re: [BUGS] Status of issue 4593  (Peter Eisentraut <peter_e@gmx.net>)
List pgsql-hackers
>>> Tom Lane <tgl@sss.pgh.pa.us> wrote: 
> "Kevin Grittner" <Kevin.Grittner@wicourts.gov> writes:
>> Tom Lane <tgl@sss.pgh.pa.us> wrote: 
>>> A re-sort after locking doesn't really make things all nice and
>>> intuitive either.
> 
>> Would it make any sense to roll back and generate a
>> SERIALIZATION_FAILURE?
> 
> If that's what you want then you run the transaction in serializable
> mode.  The point of doing it in READ COMMITTED mode is that you
don't
> want such a failure.
Well, that's a PostgreSQL-specific point of view, although I
understand the point of maintaining that guarantee.  (In Microsoft SQL
Server and Sybase ASE we actually had to run our read-only web
application at the READ UNCOMMITTED transaction isolation level
because so many SELECT queries were rolled back when they deadlocked
with the traffic from replication when they were all running at READ
COMMITTED.)
If you run this at SERIALIZABLE transaction isolation level, would
PostgreSQL currently roll something back before returning rows in an
order different than that specified by the ORDER BY clause?
-Kevin


pgsql-hackers by date:

Previous
From: Marc Munro
Date:
Subject: Re: [BUGS] Status of issue 4593
Next
From: Heikki Linnakangas
Date:
Subject: Re: Recovery Test Framework