Received: from localhost (unknown [200.46.204.191]) by postgresql.org (Postfix) with ESMTP id D61C62E00A5 for ; Wed, 16 Jan 2008 18:44:36 -0400 (AST) Received: from postgresql.org ([200.46.204.71]) by localhost (mx1.hub.org [200.46.204.191]) (amavisd-maia, port 10024) with ESMTP id 34109-05 for ; Wed, 16 Jan 2008 18:44:26 -0400 (AST) Received: from mail.illumen.com (unknown [64.207.29.137]) by postgresql.org (Postfix) with ESMTP id 6D68B2E2DCC for ; Wed, 16 Jan 2008 18:44:26 -0400 (AST) X-MimeOLE: Produced By Microsoft Exchange V6.5 Content-class: urn:content-classes:message MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable Subject: Re: Strange client encoding issue Date: Wed, 16 Jan 2008 15:45:06 -0700 Message-ID: In-Reply-To: <200801162332.17449.rossacher@bluewin.ch> X-MS-Has-Attach: X-MS-TNEF-Correlator: Thread-Topic: [ADMIN] Strange client encoding issue Thread-Index: AchYkBbCnO1ZSRWRQhqpKNZTKrGnwgAAOAIA References: <200801162332.17449.rossacher@bluewin.ch> From: "Benjamin Krajmalnik" To: "Ivo Rossacher" , X-Virus-Scanned: Maia Mailguard 1.0.1 X-Archive-Number: 200801/191 X-Sequence-Number: 27965 Ivo, thank you for responding. I know what the error message is saying. The database encoding is Latin1. I do not know where the Latin9 encoding is coming from, since I do not have anywhere any settings calling for a Latin9. The database is accessed both by a php script on box as well as a remote ODBC connection. From the frequency of the requests, I am inclined to believe tht it is the emote connection. Unlike 8.1, 8.2 is not tagging the log message with the IP address of the client connection, so I cannot even ascertain the source of the error :( =20 > -----Original Message----- > From: pgsql-admin-owner@postgresql.org=20 > [mailto:pgsql-admin-owner@postgresql.org] On Behalf Of Ivo Rossacher > Sent: Wednesday, January 16, 2008 3:32 PM > To: pgsql-admin@postgresql.org > Subject: Re: [ADMIN] Strange client encoding issue >=20 > The encoding of the client can not be convertet to the=20 > encoding of the server. > In the manual in chapter 21.2 you can find the list of=20 > supported encodings and possible conversions between them. > The conversion between latin1 and latin9 is not supported. > For a latin9 database you can use the client encoding latin9=20 > or utf8 but not latin1. >=20 > Best regards > Ivo >=20 > Am Mittwoch, 16. Januar 2008 21.30:42 schrieb Benjamin Krajmalnik: > > I am encountering a very strange client encoding issue. > > From the logs on the server, I am getting the following: > > > > canopy02# tail postgresql-2008-01-16_000000.log > > 2008-01-16 15:20:03 ESTERROR: conversion between latin9=20 > and LATIN1 is=20 > > not supported > > 2008-01-16 15:20:03 ESTSTATEMENT: set client_encoding to 'latin9' > > 2008-01-16 15:20:06 ESTLOG: connection received:=20 > host=3D192.168.111.25 > > port=3D4236 > > 2008-01-16 15:20:06 ESTLOG: connection authorized: user=3Dpostgres=20 > > database=3Dishield > > 2008-01-16 15:20:06 ESTERROR: conversion between latin9=20 > and LATIN1 is=20 > > not supported > > 2008-01-16 15:20:06 ESTSTATEMENT: set client_encoding to 'latin9' > > 2008-01-16 15:20:11 ESTLOG: connection received:=20 > host=3D192.168.111.25 > > port=3D4253 > > 2008-01-16 15:20:11 ESTLOG: connection authorized: user=3Dpostgres=20 > > database=3Dishield > > 2008-01-16 15:20:11 ESTERROR: conversion between latin9=20 > and LATIN1 is=20 > > not supported > > 2008-01-16 15:20:11 ESTSTATEMENT: set client_encoding to 'latin9' > > > > The application logging data is using the PostgreSQL ANSI=20 > ODBC driver,=20 > > version 08.01.02.00. > > Database server is PostgreSQL 8.2.5 on i386-portbld-freebsd6.2,=20 > > compiled by GCC cc (GCC) 3.4.6 [FreeBSD] 20060305 > > > > On page 2 of the datasources tab, in the Connect Settings=20 > tab, I have=20 > > the following: > > > > set client_encoding to 'latin1'; > > > > to force the encoding. > > Any ideas on what may be creating this, and how to resolve it? >=20 >=20 >=20 > ---------------------------(end of=20 > broadcast)--------------------------- > TIP 3: Have you checked our extensive FAQ? >=20 > http://www.postgresql.org/docs/faq >=20