Set readonly transaction per transaction

From: Alexandor84 <oleksandr(dot)sukhotskyi(at)gmail(dot)com>
To: pgsql-jdbc(at)postgresql(dot)org
Subject: Set readonly transaction per transaction
Date: 2014-12-04 10:47:28
Message-ID: 1417690048513-5829205.post@n5.nabble.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-jdbc

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.

Responses

Browse pgsql-jdbc by date

  From Date Subject
Next Message Dave Cramer 2014-12-04 10:58:25 Re: Set readonly transaction per transaction
Previous Message Dave Rosckes 2014-12-03 15:39:29 Re: Trying to get SSPI/JDBC working