Re: Client_encoding - Mailing list pgsql-jdbc

From Tom Lane
Subject Re: Client_encoding
Date
Msg-id 15020.1056768613@sss.pgh.pa.us
Whole thread Raw
In response to Client_encoding  ("Cesar Amadeo" <cesaramadeo@uol.com.br>)
List pgsql-jdbc
"Cesar Amadeo" <cesaramadeo@uol.com.br> writes:
> I was reading about "Unrecognized variable client_encoding " in PostgreSQL,
> because I have in my log:

> set datestyle to 'ISO'; select version(), case when pg_encoding_to_char(1) =
> 'SQL_ASCII' then 'UNKNOWN' else getdatabaseencoding() end;
> query: set client_encoding = 'UNICODE'; show autocommit

> What do I need to correct this problem ?

Update your server.  Evidently you're running a 7.0.* or older server,
and whatever client you're trying to use with it isn't expecting
anything so ancient.

            regards, tom lane

pgsql-jdbc by date:

Previous
From: Kim Ho
Date:
Subject: Re: Allow setObject(x,y,Types.BIT) if y is a Number &
Next
From: Tom Lane
Date:
Subject: Re: executeQuery and busy waiting