Re: Error: "Conversion between UNICODE..." - Mailing list pgsql-general

From Tatsuo Ishii
Subject Re: Error: "Conversion between UNICODE..."
Date
Msg-id 20010704112232U.t-ishii@sra.co.jp
Whole thread Raw
In response to Error: "Conversion between UNICODE..."  ("Neil Conway" <neilconway@home.com>)
List pgsql-general
> I'm getting hundreds of errors in my Postgres (7.0.2) logs like this:
>
>     ERROR:  Conversion between UNICODE and SQL_ASCII is not supported
>
> Postgres is compiled without multi-byte support and the encoding on the
> database is SQL_ASCII. AFAIK, there is no need to store UNICODE (but I
> might be wrong -- if that's the problem, tell me).
>
> Since the database is accessed by hundreds of different clients
> (interfacing using JDBC, PHP4, Perl, and perhaps others), I'm having
> difficulty tracking down where these errors are coming from and why
> they're occuring.

1. This message is coming from parse_client_encoding() in the backend,
   which is never active without multi-byte support. So I'm sure you
   are using multi-byte enabled backend. Please check your
   installation.

2. The error message indicates that your client asks UNICODE as the
   frontend side encoding, but the database is configured with
   SQL_ASCII encoding.
--
Tatsuo Ishii

pgsql-general by date:

Previous
From: Harry Yau
Date:
Subject: WAL Question
Next
From: Tom Lane
Date:
Subject: Re: [PATCH] Partial indicies almost working (I think)