From kraj@illumen.com Wed Jan 16 20:30:13 2008 Received: from localhost (unknown [200.46.204.191]) by postgresql.org (Postfix) with ESMTP id 3ECF32E0186; Wed, 16 Jan 2008 16:30:13 -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 75221-03; Wed, 16 Jan 2008 16:30:03 -0400 (AST) Received: from mail.illumen.com (unknown [64.207.29.137]) by postgresql.org (Postfix) with ESMTP id DDB7A2E00AD; Wed, 16 Jan 2008 16:30:02 -0400 (AST) X-MimeOLE: Produced By Microsoft Exchange V6.5 Content-class: urn:content-classes:message MIME-Version: 1.0 Content-Type: multipart/alternative; boundary="----_=_NextPart_001_01C8587E.AA4FED97" Subject: Strange client encoding issue Date: Wed, 16 Jan 2008 13:30:42 -0700 Message-ID: X-MS-Has-Attach: X-MS-TNEF-Correlator: Thread-Topic: Strange client encoding issue Thread-Index: AchYfqhAEfE0MLI2Tzm2CmopRCw4YQ== From: "Benjamin Krajmalnik" To: , X-Virus-Scanned: Maia Mailguard 1.0.1 X-Archive-Number: 200801/189 X-Sequence-Number: 27963 This is a multi-part message in MIME format. ------_=_NextPart_001_01C8587E.AA4FED97 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable I am encountering a very strange client encoding issue. >From the logs on the server, I am getting the following: =20 canopy02# tail postgresql-2008-01-16_000000.log 2008-01-16 15:20:03 ESTERROR: conversion between latin9 and LATIN1 is not supported 2008-01-16 15:20:03 ESTSTATEMENT: set client_encoding to 'latin9' 2008-01-16 15:20:06 ESTLOG: connection received: host=3D192.168.111.25 port=3D4236 2008-01-16 15:20:06 ESTLOG: connection authorized: user=3Dpostgres database=3Dishield 2008-01-16 15:20:06 ESTERROR: conversion between latin9 and LATIN1 is not supported 2008-01-16 15:20:06 ESTSTATEMENT: set client_encoding to 'latin9' 2008-01-16 15:20:11 ESTLOG: connection received: host=3D192.168.111.25 port=3D4253 2008-01-16 15:20:11 ESTLOG: connection authorized: user=3Dpostgres database=3Dishield 2008-01-16 15:20:11 ESTERROR: conversion between latin9 and LATIN1 is not supported 2008-01-16 15:20:11 ESTSTATEMENT: set client_encoding to 'latin9' The application logging data is using the PostgreSQL ANSI ODBC driver, version 08.01.02.00. Database server is PostgreSQL 8.2.5 on i386-portbld-freebsd6.2, compiled by GCC cc (GCC) 3.4.6 [FreeBSD] 20060305 =20 On page 2 of the datasources tab, in the Connect Settings tab, I have the following: =20 set client_encoding to 'latin1'; =20 to force the encoding. Any ideas on what may be creating this, and how to resolve it? =20 =20 =20 ------_=_NextPart_001_01C8587E.AA4FED97 Content-Type: text/html; charset="us-ascii" Content-Transfer-Encoding: quoted-printable
I am = encountering a=20 very strange client encoding issue.
From = the logs on the=20 server, I am getting the following:
 
canopy02# tail=20 postgresql-2008-01-16_000000.log
2008-01-16 15:20:03 ESTERROR: =20 conversion between latin9 and LATIN1 is not supported
2008-01-16 = 15:20:03=20 ESTSTATEMENT:  set client_encoding to 'latin9'
2008-01-16 = 15:20:06=20 ESTLOG:  connection received: host=3D192.168.111.25 = port=3D4236
2008-01-16=20 15:20:06 ESTLOG:  connection authorized: user=3Dpostgres=20 database=3Dishield
2008-01-16 15:20:06 ESTERROR:  conversion = between=20 latin9 and LATIN1 is not supported
2008-01-16 15:20:06 = ESTSTATEMENT: =20 set client_encoding to 'latin9'
2008-01-16 15:20:11 ESTLOG:  = connection=20 received: host=3D192.168.111.25 port=3D4253
2008-01-16 15:20:11 = ESTLOG: =20 connection authorized: user=3Dpostgres database=3Dishield
2008-01-16 = 15:20:11=20 ESTERROR:  conversion between latin9 and LATIN1 is not=20 supported
2008-01-16 15:20:11 ESTSTATEMENT:  set client_encoding = to=20 'latin9'
The = application=20 logging data is using the PostgreSQL ANSI ODBC driver, version=20 08.01.02.00.
Database server=20 is PostgreSQL 8.2.5 on i386-portbld-freebsd6.2, compiled by GCC cc = (GCC)=20 3.4.6 [FreeBSD] 20060305
 
On = page 2 of the=20 datasources tab, in the Connect Settings tab, I have the=20 following:
 
set = client_encoding=20 to 'latin1';
 
to = force the=20 encoding.
Any = ideas on what=20 may be creating this, and how to resolve it?
 
 
 
------_=_NextPart_001_01C8587E.AA4FED97-- From rossacher@bluewin.ch Wed Jan 16 22:32:26 2008 Received: from localhost (unknown [200.46.204.187]) by postgresql.org (Postfix) with ESMTP id 23E1F2E159F for ; Wed, 16 Jan 2008 18:32:26 -0400 (AST) Received: from postgresql.org ([200.46.204.71]) by localhost (mx1.hub.org [200.46.204.187]) (amavisd-maia, port 10024) with ESMTP id 88903-01 for ; Wed, 16 Jan 2008 18:32:16 -0400 (AST) Received: from mail17.bluewin.ch (mail17.bluewin.ch [195.186.18.64]) by postgresql.org (Postfix) with ESMTP id 69BF72E2D80 for ; Wed, 16 Jan 2008 18:32:20 -0400 (AST) Received: from [192.168.1.74] (85.1.199.70) by mail17.bluewin.ch (Bluewin 7.3.121) id 476BDE98005CEB05 for pgsql-admin@postgresql.org; Wed, 16 Jan 2008 22:32:17 +0000 From: Ivo Rossacher To: pgsql-admin@postgresql.org Subject: Re: Strange client encoding issue Date: Wed, 16 Jan 2008 23:32:17 +0100 User-Agent: KMail/1.9.6 (enterprise 20070904.708012) References: In-Reply-To: MIME-Version: 1.0 Content-Type: text/plain; charset="windows-1252" Content-Transfer-Encoding: 7bit Content-Disposition: inline Message-Id: <200801162332.17449.rossacher@bluewin.ch> X-Virus-Scanned: Maia Mailguard 1.0.1 X-Archive-Number: 200801/190 X-Sequence-Number: 27964 The encoding of the client can not be convertet to the encoding of the server. In the manual in chapter 21.2 you can find the list of 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 or utf8 but not latin1. Best regards Ivo 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 and LATIN1 is > not supported > 2008-01-16 15:20:03 ESTSTATEMENT: set client_encoding to 'latin9' > 2008-01-16 15:20:06 ESTLOG: connection received: host=192.168.111.25 > port=4236 > 2008-01-16 15:20:06 ESTLOG: connection authorized: user=postgres > database=ishield > 2008-01-16 15:20:06 ESTERROR: conversion between latin9 and LATIN1 is > not supported > 2008-01-16 15:20:06 ESTSTATEMENT: set client_encoding to 'latin9' > 2008-01-16 15:20:11 ESTLOG: connection received: host=192.168.111.25 > port=4253 > 2008-01-16 15:20:11 ESTLOG: connection authorized: user=postgres > database=ishield > 2008-01-16 15:20:11 ESTERROR: conversion between latin9 and LATIN1 is > not supported > 2008-01-16 15:20:11 ESTSTATEMENT: set client_encoding to 'latin9' > > The application logging data is using the PostgreSQL ANSI ODBC driver, > version 08.01.02.00. > Database server is PostgreSQL 8.2.5 on i386-portbld-freebsd6.2, compiled > by GCC cc (GCC) 3.4.6 [FreeBSD] 20060305 > > On page 2 of the datasources tab, in the Connect Settings tab, I have > the following: > > set client_encoding to 'latin1'; > > to force the encoding. > Any ideas on what may be creating this, and how to resolve it? From kraj@illumen.com Wed Jan 16 22:44:36 2008 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 From tgl@sss.pgh.pa.us Wed Jan 16 23:25:14 2008 Received: from localhost (unknown [200.46.204.187]) by postgresql.org (Postfix) with ESMTP id E8A162E3238 for ; Wed, 16 Jan 2008 19:25:14 -0400 (AST) Received: from postgresql.org ([200.46.204.71]) by localhost (mx1.hub.org [200.46.204.187]) (amavisd-maia, port 10024) with ESMTP id 14519-06 for ; Wed, 16 Jan 2008 19:25:03 -0400 (AST) Received: from sss.pgh.pa.us (sss.pgh.pa.us [66.207.139.130]) by postgresql.org (Postfix) with ESMTP id 47B5C2E2D61 for ; Wed, 16 Jan 2008 19:25:07 -0400 (AST) Received: from sss2.sss.pgh.pa.us (tgl@localhost [127.0.0.1]) by sss.pgh.pa.us (8.14.1/8.14.1) with ESMTP id m0GNP2VL029569; Wed, 16 Jan 2008 18:25:02 -0500 (EST) To: "Benjamin Krajmalnik" cc: "Ivo Rossacher" , pgsql-admin@postgresql.org Subject: Re: Strange client encoding issue In-reply-to: References: <200801162332.17449.rossacher@bluewin.ch> Comments: In-reply-to "Benjamin Krajmalnik" message dated "Wed, 16 Jan 2008 15:45:06 -0700" Date: Wed, 16 Jan 2008 18:25:02 -0500 Message-ID: <29568.1200525902@sss.pgh.pa.us> From: Tom Lane X-Virus-Scanned: Maia Mailguard 1.0.1 X-Archive-Number: 200801/193 X-Sequence-Number: 27967 "Benjamin Krajmalnik" writes: > 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 :( That would suggest that you didn't set up log_line_prefix the same way on both installations. regards, tom lane From kraj@illumen.com Thu Jan 17 05:38:05 2008 Received: from localhost (unknown [200.46.204.184]) by postgresql.org (Postfix) with ESMTP id BECF02E3210 for ; Thu, 17 Jan 2008 01:38:05 -0400 (AST) Received: from postgresql.org ([200.46.204.71]) by localhost (mx1.hub.org [200.46.204.184]) (amavisd-maia, port 10024) with ESMTP id 16663-03-5 for ; Thu, 17 Jan 2008 01:37:59 -0400 (AST) Received: from mail.illumen.com (unknown [64.207.29.137]) by postgresql.org (Postfix) with ESMTP id 308532E4365 for ; Thu, 17 Jan 2008 01:16:09 -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 22:16:50 -0700 Message-ID: In-Reply-To: X-MS-Has-Attach: X-MS-TNEF-Correlator: Thread-Topic: [ADMIN] Strange client encoding issue Thread-Index: AchYkBbCnO1ZSRWRQhqpKNZTKrGnwgAAOAIAAA2cSAA= References: <200801162332.17449.rossacher@bluewin.ch> From: "Benjamin Krajmalnik" To: X-Virus-Scanned: Maia Mailguard 1.0.1 X-Archive-Number: 200801/197 X-Sequence-Number: 27971 Additional info: Thanks to Tom Lane, who pointed me in the right direction concerning the logging to identify the connection creating the problem. The error is most definitely being generated by the ODBC connection. What can be causing the ODBC driver to set the client encoding to Latin9 implicitly? > -----Original Message----- > From: pgsql-admin-owner@postgresql.org=20 > [mailto:pgsql-admin-owner@postgresql.org] On Behalf Of=20 > Benjamin Krajmalnik > Sent: Wednesday, January 16, 2008 3:45 PM > To: Ivo Rossacher; pgsql-admin@postgresql.org > Subject: Re: [ADMIN] Strange client encoding issue >=20 > 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=20 > I do not have anywhere any settings calling for a Latin9. > The database is accessed both by a php script on box as well=20 > as a remote ODBC connection. > From the frequency of the requests, I am inclined to believe=20 > tht it is the emote connection. Unlike 8.1, 8.2 is not=20 > tagging the log message with the IP address of the client=20 > connection, so I cannot even ascertain the source of the error :( >=20 > =20 >=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=20 > > server. > > In the manual in chapter 21.2 you can find the list of supported=20 > > 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=20 > latin9 or utf8=20 > > 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 > > and LATIN1 is > > > 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 > > and LATIN1 is > > > 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 > > and LATIN1 is > > > not supported > > > 2008-01-16 15:20:11 ESTSTATEMENT: set client_encoding to 'latin9' > > > > > > The application logging data is using the PostgreSQL ANSI > > ODBC driver, > > > 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 > > tab, I have > > > 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 > > broadcast)--------------------------- > > TIP 3: Have you checked our extensive FAQ? > >=20 > > http://www.postgresql.org/docs/faq > >=20 >=20 > ---------------------------(end of=20 > broadcast)--------------------------- > TIP 3: Have you checked our extensive FAQ? >=20 > http://www.postgresql.org/docs/faq >=20 From tgl@sss.pgh.pa.us Thu Jan 17 06:09:39 2008 Received: from localhost (unknown [200.46.204.191]) by postgresql.org (Postfix) with ESMTP id A52E32E2F61 for ; Thu, 17 Jan 2008 02:09:39 -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 75817-01-10 for ; Thu, 17 Jan 2008 02:09:36 -0400 (AST) Received: from sss.pgh.pa.us (sss.pgh.pa.us [66.207.139.130]) by postgresql.org (Postfix) with ESMTP id E3E482E01AC for ; Thu, 17 Jan 2008 02:09:02 -0400 (AST) Received: from sss2.sss.pgh.pa.us (tgl@localhost [127.0.0.1]) by sss.pgh.pa.us (8.14.1/8.14.1) with ESMTP id m0H690kR004043; Thu, 17 Jan 2008 01:09:00 -0500 (EST) To: "Benjamin Krajmalnik" cc: pgsql-admin@postgresql.org Subject: Re: Strange client encoding issue In-reply-to: References: <200801162332.17449.rossacher@bluewin.ch> Comments: In-reply-to "Benjamin Krajmalnik" message dated "Wed, 16 Jan 2008 22:16:50 -0700" Date: Thu, 17 Jan 2008 01:09:00 -0500 Message-ID: <4042.1200550140@sss.pgh.pa.us> From: Tom Lane X-Virus-Scanned: Maia Mailguard 1.0.1 X-Archive-Number: 200801/199 X-Sequence-Number: 27973 "Benjamin Krajmalnik" writes: > The error is most definitely being generated by the ODBC connection. > What can be causing the ODBC driver to set the client encoding to Latin9 > implicitly? Dunno, but the folks who would know that hang out in the pgsql-odbc list. regards, tom lane From kraj@illumen.com Thu Jan 17 17:48:26 2008 Received: from localhost (unknown [200.46.204.191]) by postgresql.org (Postfix) with ESMTP id D13CF2E023A for ; Thu, 17 Jan 2008 13:48:26 -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 74047-05-3 for ; Thu, 17 Jan 2008 13:48:19 -0400 (AST) Received: from mail.illumen.com (unknown [64.207.29.137]) by postgresql.org (Postfix) with ESMTP id C441B2E00B4 for ; Thu, 17 Jan 2008 13:48:18 -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: FW: [ADMIN] Strange client encoding issue Date: Thu, 17 Jan 2008 10:49:01 -0700 Message-ID: X-MS-Has-Attach: X-MS-TNEF-Correlator: Thread-Topic: [ADMIN] Strange client encoding issue Thread-Index: AchYkBbCnO1ZSRWRQhqpKNZTKrGnwgAAOAIAAA2cSAAAGmG7MA== From: "Benjamin Krajmalnik" To: X-Virus-Scanned: Maia Mailguard 1.0.1 X-Archive-Number: 200801/22 X-Sequence-Number: 9329 I posted this info in ADMIN. Any insight from the ODBC core team will be appreciated. Thi is not causing problems in the actual data, since there is no Latin9 data and technically Latin9 is a superset of Latin1. I was just wondering what can be causing the ODBC driver to issue a set client_encoding to 'latin9' implicitly. -----Original Message----- From: pgsql-admin-owner@postgresql.org [mailto:pgsql-admin-owner@postgresql.org] On Behalf Of Benjamin Krajmalnik Sent: Wednesday, January 16, 2008 10:17 PM To: pgsql-admin@postgresql.org Subject: Re: [ADMIN] Strange client encoding issue Additional info: Thanks to Tom Lane, who pointed me in the right direction concerning the logging to identify the connection creating the problem. The error is most definitely being generated by the ODBC connection. What can be causing the ODBC driver to set the client encoding to Latin9 implicitly? > -----Original Message----- > From: pgsql-admin-owner@postgresql.org=20 > [mailto:pgsql-admin-owner@postgresql.org] On Behalf Of Benjamin=20 > Krajmalnik > Sent: Wednesday, January 16, 2008 3:45 PM > To: Ivo Rossacher; pgsql-admin@postgresql.org > Subject: Re: [ADMIN] Strange client encoding issue >=20 > 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=20 > 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=20 > with the IP address of the client connection, so I cannot even=20 > ascertain the source of the error :( >=20 > =20 >=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 > encoding of the > > server. > > In the manual in chapter 21.2 you can find the list of supported=20 > > 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 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 > > and LATIN1 is > > > 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 > > and LATIN1 is > > > 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 > > and LATIN1 is > > > not supported > > > 2008-01-16 15:20:11 ESTSTATEMENT: set client_encoding to 'latin9' > > > > > > The application logging data is using the PostgreSQL ANSI > > ODBC driver, > > > 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 > > tab, I have > > > 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 > > broadcast)--------------------------- > > TIP 3: Have you checked our extensive FAQ? > >=20 > > http://www.postgresql.org/docs/faq > >=20 >=20 > ---------------------------(end of > broadcast)--------------------------- > TIP 3: Have you checked our extensive FAQ? >=20 > http://www.postgresql.org/docs/faq >=20 ---------------------------(end of broadcast)--------------------------- TIP 2: Don't 'kill -9' the postmaster From z-saito@guitar.ocn.ne.jp Thu Jan 17 18:16:57 2008 Received: from localhost (unknown [200.46.204.184]) by postgresql.org (Postfix) with ESMTP id 1F82E2E3C66 for ; Thu, 17 Jan 2008 14:16:57 -0400 (AST) Received: from postgresql.org ([200.46.204.71]) by localhost (mx1.hub.org [200.46.204.184]) (amavisd-maia, port 10024) with ESMTP id 23107-04 for ; Thu, 17 Jan 2008 14:16:50 -0400 (AST) Received: from smtp.guitar.ocn.ne.jp (guitar.ocn.ne.jp [61.207.12.174]) by postgresql.org (Postfix) with ESMTP id 37BDA2E3C5C for ; Thu, 17 Jan 2008 14:16:50 -0400 (AST) Received: from HP22720319231 (221x112x108x194.ap221.ftth.ucom.ne.jp [221.112.108.194]) by smtp.guitar.ocn.ne.jp (Postfix) with SMTP id F299D4179; Fri, 18 Jan 2008 03:16:48 +0900 (JST) Message-ID: <052801c85935$24479970$c601a8c0@HP22720319231> From: "Hiroshi Saito" To: "Benjamin Krajmalnik" , References: Subject: Re: FW: [ADMIN] Strange client encoding issue Date: Fri, 18 Jan 2008 03:16:55 +0900 MIME-Version: 1.0 Content-Type: text/plain; format=flowed; charset="iso-8859-1"; reply-type=original Content-Transfer-Encoding: 7bit X-Priority: 3 X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook Express 6.00.2900.3028 X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2900.3028 X-Virus-Scanned: Maia Mailguard 1.0.1 X-Archive-Number: 200801/23 X-Sequence-Number: 9330 Hi. Sorry, very late reaction... It is strange.?_? please send me mylog output of psqlODBC. Regards, Hiroshi Saito ----- Original Message ----- From: "Benjamin Krajmalnik" To: Sent: Friday, January 18, 2008 2:49 AM Subject: [ODBC] FW: [ADMIN] Strange client encoding issue I posted this info in ADMIN. Any insight from the ODBC core team will be appreciated. Thi is not causing problems in the actual data, since there is no Latin9 data and technically Latin9 is a superset of Latin1. I was just wondering what can be causing the ODBC driver to issue a set client_encoding to 'latin9' implicitly. -----Original Message----- From: pgsql-admin-owner@postgresql.org [mailto:pgsql-admin-owner@postgresql.org] On Behalf Of Benjamin Krajmalnik Sent: Wednesday, January 16, 2008 10:17 PM To: pgsql-admin@postgresql.org Subject: Re: [ADMIN] Strange client encoding issue Additional info: Thanks to Tom Lane, who pointed me in the right direction concerning the logging to identify the connection creating the problem. The error is most definitely being generated by the ODBC connection. What can be causing the ODBC driver to set the client encoding to Latin9 implicitly? > -----Original Message----- > From: pgsql-admin-owner@postgresql.org > [mailto:pgsql-admin-owner@postgresql.org] On Behalf Of Benjamin > Krajmalnik > Sent: Wednesday, January 16, 2008 3:45 PM > To: Ivo Rossacher; pgsql-admin@postgresql.org > Subject: Re: [ADMIN] Strange client encoding issue > > 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 :( > > > > > -----Original Message----- > > From: pgsql-admin-owner@postgresql.org > > [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 > > > > The encoding of the client can not be convertet to the > encoding of the > > server. > > In the manual in chapter 21.2 you can find the list of 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 or utf8 > > but not latin1. > > > > Best regards > > Ivo > > > > 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 > > and LATIN1 is > > > not supported > > > 2008-01-16 15:20:03 ESTSTATEMENT: set client_encoding to 'latin9' > > > 2008-01-16 15:20:06 ESTLOG: connection received: > > host=192.168.111.25 > > > port=4236 > > > 2008-01-16 15:20:06 ESTLOG: connection authorized: user=postgres > > > database=ishield > > > 2008-01-16 15:20:06 ESTERROR: conversion between latin9 > > and LATIN1 is > > > not supported > > > 2008-01-16 15:20:06 ESTSTATEMENT: set client_encoding to 'latin9' > > > 2008-01-16 15:20:11 ESTLOG: connection received: > > host=192.168.111.25 > > > port=4253 > > > 2008-01-16 15:20:11 ESTLOG: connection authorized: user=postgres > > > database=ishield > > > 2008-01-16 15:20:11 ESTERROR: conversion between latin9 > > and LATIN1 is > > > not supported > > > 2008-01-16 15:20:11 ESTSTATEMENT: set client_encoding to 'latin9' > > > > > > The application logging data is using the PostgreSQL ANSI > > ODBC driver, > > > version 08.01.02.00. > > > Database server is PostgreSQL 8.2.5 on i386-portbld-freebsd6.2, > > > compiled by GCC cc (GCC) 3.4.6 [FreeBSD] 20060305 > > > > > > On page 2 of the datasources tab, in the Connect Settings > > tab, I have > > > the following: > > > > > > set client_encoding to 'latin1'; > > > > > > to force the encoding. > > > Any ideas on what may be creating this, and how to resolve it? > > > > > > > > ---------------------------(end of > > broadcast)--------------------------- > > TIP 3: Have you checked our extensive FAQ? > > > > http://www.postgresql.org/docs/faq > > > > ---------------------------(end of > broadcast)--------------------------- > TIP 3: Have you checked our extensive FAQ? > > http://www.postgresql.org/docs/faq > ---------------------------(end of broadcast)--------------------------- TIP 2: Don't 'kill -9' the postmaster ---------------------------(end of broadcast)--------------------------- TIP 3: Have you checked our extensive FAQ? http://www.postgresql.org/docs/faq