John R Pierce wrote:
> Kris Jurka wrote:
>> So if they go to the trouble of doing a setReadOnly call, why not
>> simply do a setAutoCommit(true) call as well?
>
> thats pretty much what they'll have to do. I guess setReadOnly() is
> pretty much a non-op in pg-jdbc?
It issues a "SET SESSION CHARACTERISTICS AS TRANSACTION READ ONLY"
command. See
http://cvs.pgfoundry.org/cgi-bin/cvsweb.cgi/jdbc/pgjdbc/org/postgresql/jdbc2/AbstractJdbc2Connection.java?rev=1.54&content-type=text/x-cvsweb-markup
-O