Re: Detecting SQL_ASCII databases

From: Kris Jurka <books(at)ejurka(dot)com>
To: Oliver Jowett <oliver(at)opencloud(dot)com>
Cc: "pgsql-jdbc(at)postgresql(dot)org" <pgsql-jdbc(at)postgresql(dot)org>
Subject: Re: Detecting SQL_ASCII databases
Date: 2004-09-23 07:16:48
Message-ID: Pine.BSO.4.56.0409230211530.25933@leary.csoft.net
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-jdbc

On Thu, 23 Sep 2004, Oliver Jowett wrote:

> >>8.0 backends report the server_encoding value of the database via
> >>ParameterStatus during startup. I'd like to use this to detect SQL_ASCII
> >>databases and complain loudly.
> >

Sounds good to me as long as we can make existing "broken" setups still
work (at least as well as they do now). I was initially hesitant because
you seemed to want to force people to encode their data correctly
(requiring a dump/reload). If they just need to set a URL parameter
acknowledging that their setup isn't quite right, that's low impact.

Kris Jurka

In response to

Responses

Browse pgsql-jdbc by date

  From Date Subject
Next Message John R Pierce 2004-09-23 07:25:35 detecting SQL system
Previous Message Oliver Jowett 2004-09-23 07:16:40 Re: raising the default prepareTheshold