pg.ddx.io  pgsql-jdbc@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Dave Cramer <pg@fastcrypt.com>
To: Alexandor84 <oleksandr.sukhotskyi@gmail.com>
Cc: List <pgsql-jdbc@postgresql.org>
Subject: Re: Set readonly transaction per transaction
Date: Thu, 4 Dec 2014 05:58:25 -0500
Message-ID: <CADK3HHLdreOE7OxOPGn6knUX25tQMaPfDBbvwV2f71qO2KYABg@mail.gmail.com> (raw)
In-Reply-To: <1417690048513-5829205.post@n5.nabble.com>
References: <1417690048513-5829205.post@n5.nabble.com>
List-Unsubscribe: <mailto:majordomo@postgresql.org?body=unsub%20pgsql-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
>

view thread (8+ messages)  latest in thread

Message-ID: <CADK3HHLdreOE7OxOPGn6knUX25tQMaPfDBbvwV2f71qO2KYABg@mail.gmail.com>
Permalink:  ../CADK3HHLdreOE7OxOPGn6knUX25tQMaPfDBbvwV2f71qO2KYABg@mail.gmail.com/
Also on:    postgresql.org/message-id/CADK3HHLdreOE7OxOPGn6knUX25tQMaPfDBbvwV2f71qO2KYABg@mail.gmail.com

 · 

reply

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Reply to all the recipients from your mail client; the link fills in
  the headers below: reply via email
  Some clients, webmail especially, drop In-Reply-To and References from
  a link, and the reply then starts a new thread: use the mbox below.

  To: pgsql-jdbc@postgresql.org
  Cc: pg@fastcrypt.com, oleksandr.sukhotskyi@gmail.com
  Subject: Re: Set readonly transaction per transaction
  In-Reply-To: <CADK3HHLdreOE7OxOPGn6knUX25tQMaPfDBbvwV2f71qO2KYABg@mail.gmail.com>
  References: <1417690048513-5829205.post@n5.nabble.com> <CADK3HHLdreOE7OxOPGn6knUX25tQMaPfDBbvwV2f71qO2KYABg@mail.gmail.com>

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox