Re: Set readonly transaction per transaction

Поиск
Список
Период
Сортировка
От Dave Cramer
Тема Re: Set readonly transaction per transaction
Дата
Msg-id CADK3HHLdreOE7OxOPGn6knUX25tQMaPfDBbvwV2f71qO2KYABg@mail.gmail.com
обсуждение исходный текст
Ответ на Set readonly transaction per transaction  (Alexandor84 <oleksandr.sukhotskyi@gmail.com>)
Ответы Re: Set readonly transaction per transaction  (Alexandor84 <oleksandr.sukhotskyi@gmail.com>)
Список 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 по дате отправления:

Предыдущее
От: Alexandor84
Дата:
Сообщение: Set readonly transaction per transaction
Следующее
От: Alexandor84
Дата:
Сообщение: Re: Set readonly transaction per transaction