Re: Client_encoding

From: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
To: "Cesar Amadeo" <cesaramadeo(at)uol(dot)com(dot)br>
Cc: pgsql-jdbc(at)postgresql(dot)org
Subject: Re: Client_encoding
Date: 2003-06-28 02:50:13
Message-ID: 15020.1056768613@sss.pgh.pa.us
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-jdbc

"Cesar Amadeo" <cesaramadeo(at)uol(dot)com(dot)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

In response to

Browse pgsql-jdbc by date

  From Date Subject
Next Message Tom Lane 2003-06-28 05:46:44 Re: executeQuery and busy waiting
Previous Message Kim Ho 2003-06-27 22:28:27 Re: Allow setObject(x,y,Types.BIT) if y is a Number &