X-Original-To: pgsql-odbc-postgresql.org@localhost.postgresql.org Received: from localhost (unknown [200.46.204.144]) by svr1.postgresql.org (Postfix) with ESMTP id 3F314D1B16B for ; Wed, 28 Jul 2004 15:47:32 -0300 (ADT) Received: from svr1.postgresql.org ([200.46.204.71]) by localhost (av.hub.org [200.46.204.144]) (amavisd-new, port 10024) with ESMTP id 91932-08 for ; Wed, 28 Jul 2004 18:47:03 +0000 (GMT) Received: from adsl2.nocera.com (host78-80.pool8172.interbusiness.it [81.72.80.78]) by svr1.postgresql.org (Postfix) with ESMTP id 5CEDFD1B1B6 for ; Wed, 28 Jul 2004 15:46:59 -0300 (ADT) Received: from gespo.nocera.com ([192.168.157.6] helo=gespo ident=mail) by adsl2.nocera.com with esmtp (Exim 3.35 #1 (Debian)) id 1BptPx-0002xa-00 for ; Wed, 28 Jul 2004 20:44:48 +0200 Received: from pennino-a.nocera.com ([192.168.157.18] helo=pennino-a) by gespo with esmtp (Exim 3.35 #1 (Debian)) id 1BptPr-0008Bf-00 for ; Wed, 28 Jul 2004 20:44:39 +0200 From: "Antonio Pennino" Organization: Nocera Informatica To: pgsql-odbc@postgresql.org Date: Wed, 28 Jul 2004 20:44:38 +0200 MIME-Version: 1.0 Subject: Re: problem with CVS version Message-ID: <41081036.31430.3254A8@localhost> In-reply-to: X-mailer: Pegasus Mail for Windows (4.21b) Content-type: text/plain; charset=US-ASCII Content-transfer-encoding: 7BIT Content-description: Mail message body X-Virus-Scanned: by amavisd-new at hub.org X-Spam-Status: No, hits=0.0 tagged_above=0.0 required=5.0 tests= X-Spam-Level: X-Archive-Number: 200407/153 X-Sequence-Number: 4286 > If the connection is made using SQLConnectW, > SQLDriverConnectW or SQLBrowseConnectW, I am *sure* : i not call unicode API. Ok, is a problem of the driver manager. The MDAC update not solve the problem. The database is not unicode: firedell:/etc/postgresql# psql -l List of databases Name | Owner | Encoding -----------+----------+----------- dbrete | postgres | SQL_ASCII firedell | postgres | SQL_ASCII template0 | postgres | SQL_ASCII template1 | postgres | SQL_ASCII One table (with varchar also) is read ok, the other 4 no! Building the connection string (via a .udl file) it is: DSN=firedell;DATABASE=firedell;SERVER=192.168.160.254;PORT=5432 ;UID=postgres;PWD=;ReadOnly=0;Protocol=6.4;FakeOidInde x=0;ShowOidColumn=0;RowVersioning=0;ShowSystemTables=0;ConnSett ings=;Fetch=100;Socket=4096;UnknownSizes=0;MaxVarcharSize=254;M axLongVarcharSize=8190;Debug=1;CommLog=0;Optimizer=1;Ksqo=1;Use DeclareFetch=1;TextAsLongVarchar=0;UnknownsAsLongVarchar=0;Bool sAsChar=0;Parse=1;CancelAsFreeStmt=0;ExtraSysTablePrefixes=dd_; ;LFConversion=1;UpdatableCursors=0;DisallowPremature=0;TrueIsMi nus1=0;BI=0;ByteaAsLongVarBinary=0;UseServerSidePrepare=0 Why Protocol=6.4 when i have set it to 7.x? the server is 7.2.x Sorry for yours time.... and for my time also :-)) ============================================ Antonio Pennino Nocera Informatica s.r.l. telefono: 035/4219033 telefax : 035/4219050 e-mail : a.pennino@nocerainformatica.net ============================================