Re: Set readonly transaction per transaction - Mailing list pgsql-jdbc

From Dave Cramer
Subject Re: Set readonly transaction per transaction
Date
Msg-id CADK3HHLdreOE7OxOPGn6knUX25tQMaPfDBbvwV2f71qO2KYABg@mail.gmail.com
Whole thread Raw
In response to Set readonly transaction per transaction  (Alexandor84 <oleksandr.sukhotskyi@gmail.com>)
Responses Re: Set readonly transaction per transaction  (Alexandor84 <oleksandr.sukhotskyi@gmail.com>)
List pgsql-jdbc
Currently no, there is no way to do this.

can you describe your use case ?

Dave Cramer

dave.cramer(at)credativ(dot)ca
http://www.credativ.ca

On 4 December 2014 at 05:47, Alexandor84 <oleksandr.sukhotskyi@gmail.com> wrote:
Hi All,

I found that JDBC driver set readOnly transaction as: SET SESSION
CHARACTERISTICS AS TRANSACTION READ ONLY

Is there a way to reconfigure JDBC driver to set ReadOnly like:
BEGIN TRANSACTION READ ONLY;
.
.
COMMIT;

Thank you in advance,
Alex



--
View this message in context: http://postgresql.nabble.com/Set-readonly-transaction-per-transaction-tp5829205.html
Sent from the PostgreSQL - jdbc mailing list archive at Nabble.com.


--
Sent via pgsql-jdbc mailing list (pgsql-jdbc@postgresql.org)
To make changes to your subscription:
http://www.postgresql.org/mailpref/pgsql-jdbc

pgsql-jdbc by date:

Previous
From: Alexandor84
Date:
Subject: Set readonly transaction per transaction
Next
From: Alexandor84
Date:
Subject: Re: Set readonly transaction per transaction