Re: Passing server_encoding to the client is not future-proof - Mailing list pgsql-hackers

From Peter Eisentraut
Subject Re: Passing server_encoding to the client is not future-proof
Date
Msg-id Pine.LNX.4.44.0308312105420.1119-100000@peter.localdomain
Whole thread Raw
In response to Re: Passing server_encoding to the client is not future-proof  (Carlos Guzman Alvarez <carlosga@telefonica.net>)
List pgsql-hackers
Carlos Guzman Alvarez writes:

> > The JDBC guys wanted to know it.  Why is not clear to me, but I figured
> > it was easy enough to make them happy.
>
> I'm using it too in my .NET Data Provider for allow atomatic encoding of
> strings before send it to the server.

Why would you want to do that?  The server can do the encoding conversion.
You're bound to get into trouble using this approach.

-- 
Peter Eisentraut   peter_e@gmx.net



pgsql-hackers by date:

Previous
From: Peter Eisentraut
Date:
Subject: Re: "is_superuser" parameter creates inconsistencies
Next
From: Peter Eisentraut
Date:
Subject: Re: Passing server_encoding to the client is not future-proof