X-Original-To: pgsql-odbc-postgresql.org@localhost.postgresql.org Received: from localhost (av.hub.org [200.46.204.144]) by postgresql.org (Postfix) with ESMTP id 3318D9DC819 for ; Tue, 13 Dec 2005 17:45:22 -0400 (AST) Received: from postgresql.org ([200.46.204.71]) by localhost (av.hub.org [200.46.204.144]) (amavisd-new, port 10024) with ESMTP id 33102-04 for ; Tue, 13 Dec 2005 17:45:23 -0400 (AST) X-Greylist: from auto-whitelisted by SQLgrey- Received: from server.ddiworldwide.com (host90.155.212.20.conversent.net [155.212.20.90]) by postgresql.org (Postfix) with ESMTP id 0C08E9DC84B for ; Tue, 13 Dec 2005 17:45:19 -0400 (AST) Received: from mppd (localhost [127.0.0.1]) by server (Postfix) with SMTP id 7FDAC6D0048 for ; Tue, 13 Dec 2005 16:40:51 -0500 (EST) Received: from plinux.ddiworldwide.com (plinux.ddiworldwide.com [192.168.1.128]) by server.ddiworldwide.com (Postfix) with ESMTP id 3E1D66D0047 for ; Tue, 13 Dec 2005 21:40:47 +0000 (UTC) From: Frank R Callaghan To: pgsql-odbc@postgresql.org Subject: Re: client encoding mismatch help! Date: Tue, 13 Dec 2005 16:45:14 -0500 User-Agent: KMail/1.8.1 References: <439F0BD5.6030508@ieee.org> <20051213184214.GB7403@soptik.pzkagis.cz> In-Reply-To: <20051213184214.GB7403@soptik.pzkagis.cz> MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit Content-Disposition: inline Message-Id: <200512131645.14888.f.callaghan@ieee.org> X-Virus-Scanned: by amavisd-new at hub.org X-Spam-Status: No, score=0 required=5 tests=[none] X-Spam-Score: 0 X-Spam-Level: X-Archive-Number: 200512/161 X-Sequence-Number: 6640 Thanks for the very fast reply Luf, On Tuesday 13 December 2005 1:42 pm, Ludek Finstrle wrote: > > I have installed 8.1 server on a FC4 system and loaded my > > 7.3.2 database data (not too many problems) all is working well > > except the odbc driver won't connect ! > > The database was built with no encoding options set, the driver > > is psqlodbc-08_01_0102 with default options (but I have tryed many) > > > > The Driver Log file follows := > > It seems you are trying psqlodbc on Windows. Am I right? Yes Win2000 at the moment - Xp, 98 & ME to follow) > It is more helpful when you post us mylog output (both - Global and > DataSource settings). I can't generate a log file as I don't have a C-Drive and the logpath seems to be hard wired! > > Do you try ANSI or Unicode driver? Does problem exist with both types > of psqlODBC driver? I only saw one stable msi driver ! (but I guess I looked in the wrong place) > > > Please help, I need to get this system up an running in production > > pronto ;) > > I hope you don't mean in 5 minutes ... No, 2 days (luxury) > I have solved the connect problem by rebuilding the database with --encoding=SQL_ANSII, I guess the database default to some other encoding schema - I bet it's in the documentation somewhere :) this allows the windows ODBC drivers to work (mostly) but now fails with my datawindow objects :( it seem the from ODBC 2 -> 3 the TIMESTAMP field has changed some how, and the datawindow can't deal with it (first guess)! Is there some way to force the driver/database to use the old 2.0 ODBC format ? Cheers, Frank