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

From: Dave Cramer <pg(at)fastcrypt(dot)com>
To: Steven Schlansker <steven(at)likeness(dot)com>
Cc: "pgsql-jdbc(at)postgresql(dot)org" <pgsql-jdbc(at)postgresql(dot)org>
Subject: Re: Set read-only connection from a connect string parameter
Date: 2013-01-11 13:49:26
Message-ID: CADK3HH+knU4DwjaL34a4XfBpzb2sz4iEmM4PXW_5T5T-8peoig@mail.gmail.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-jdbc

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(at)likeness(dot)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(at)postgresql(dot)org)
> To make changes to your subscription:
> http://www.postgresql.org/mailpref/pgsql-jdbc
>

In response to

Browse pgsql-jdbc by date

  From Date Subject
Next Message Dave Cramer 2013-01-11 13:58:08 Re: Update translation for japanese(ja.po).
Previous Message Dave Cramer 2013-01-11 13:19:41 Re: [BUGS] BUG #7766: Running a DML statement that affects more than 4 billion rows results in an exception