From: | Dave Cramer <pg(at)fastcrypt(dot)com> |
---|---|
To: | Alexandor84 <oleksandr(dot)sukhotskyi(at)gmail(dot)com> |
Cc: | List <pgsql-jdbc(at)postgresql(dot)org> |
Subject: | Re: Set readonly transaction per transaction |
Date: | 2014-12-04 10:58:25 |
Message-ID: | CADK3HHLdreOE7OxOPGn6knUX25tQMaPfDBbvwV2f71qO2KYABg@mail.gmail.com |
Views: | Raw Message | Whole Thread | Download mbox | Resend email |
Thread: | |
Lists: | 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(dot)sukhotskyi(at)gmail(dot)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(at)postgresql(dot)org)
> To make changes to your subscription:
> http://www.postgresql.org/mailpref/pgsql-jdbc
>
From | Date | Subject | |
---|---|---|---|
Next Message | Alexandor84 | 2014-12-04 11:04:05 | Re: Set readonly transaction per transaction |
Previous Message | Alexandor84 | 2014-12-04 10:47:28 | Set readonly transaction per transaction |