Thread: Set read-only connection from a connect string parameter

Set read-only connection from a connect string parameter

From
Steven Schlansker
Date:
Hi,

I have a very simple (2 lines) patch which allows you to set ?readOnly=true on your connection string.

https://github.com/pgjdbc/pgjdbc/pull/26

Hopefully someone finds this useful.

Steven



Re: Set read-only connection from a connect string parameter

From
Dave Cramer
Date:
Steven,

Committed, thanks

Dave

Dave Cramer

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


On Sun, Dec 30, 2012 at 2:11 PM, Steven Schlansker <steven@likeness.com> wrote:
Hi,

I have a very simple (2 lines) patch which allows you to set ?readOnly=true on your connection string.

https://github.com/pgjdbc/pgjdbc/pull/26

Hopefully someone finds this useful.

Steven



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