Re: Connection.setReadOnly() - Mailing list pgsql-jdbc

From Albe Laurenz
Subject Re: Connection.setReadOnly()
Date
Msg-id D960CB61B694CF459DCFB4B0128514C2039380B6@exadv11.host.magwien.gv.at
Whole thread Raw
In response to Re: Connection.setReadOnly()  (Greg Stark <gsstark@mit.edu>)
List pgsql-jdbc
Greg Stark wrote:
>>> Does the Oracle driver not follow the JDBC spec here? Or is it just that
>>> long-term open transactions don't cause problems on Oracle?
>>
>> the latter
>
> Well eventually on Oracle you would get a "Snapshot too old" error.

Only if the long reading transaction has isolation level
SERIALIZABLE, because with READ COMMITTED it will not need very
old rows from the UNDO tablespace.

Yours,
Laurenz Albe

pgsql-jdbc by date:

Previous
From: Craig Ringer
Date:
Subject: Re: Connection.setReadOnly()
Next
From: Tom Lane
Date:
Subject: Re: Connection.setReadOnly()