Re: bytea size limit? - Mailing list pgsql-jdbc

From Kris Jurka
Subject Re: bytea size limit?
Date
Msg-id Pine.BSO.4.56.0404122138270.30078@leary.csoft.net
Whole thread Raw
In response to Re: bytea size limit?  (Michael Privat <michael@ceci.mit.edu>)
List pgsql-jdbc

On Mon, 12 Apr 2004, Michael Privat wrote:

> As far as the encoding. I think in your original email you had
> mentioned that the driver used UTF-8 (in which case there is an
> obvious optimization that can be made), but I couldn't find it in the
> driver. Everything looked like it was inheriting from the encoding
> scheme set in the connection.
>

The driver's internal encoding (the client_encoding GUC) is unicode for
all 7.3+ databases, but not necessarily for 7.2 and before.  The 7.3
release was the first that came with multibyte support compiled by default
and before that time the charSet URL parameter was relied upon to
determine the correct database encoding.

Kris Jurka

pgsql-jdbc by date:

Previous
From: Michael Privat
Date:
Subject: Re: bytea size limit?
Next
From: Oliver Jowett
Date:
Subject: Re: bytea size limit?