Received: from maia.hub.org (unknown [200.46.204.183]) by mail.postgresql.org (Postfix) with ESMTP id A8449634122 for ; Thu, 25 Mar 2010 05:30:23 -0300 (ADT) Received: from mail.postgresql.org ([200.46.204.86]) by maia.hub.org (mx1.hub.org [200.46.204.183]) (amavisd-maia, port 10024) with ESMTP id 55157-02 for ; Thu, 25 Mar 2010 08:30:13 +0000 (UTC) X-Greylist: from auto-whitelisted by SQLgrey-1.7.6 Received: from server-ibm.byteanywhere.com (unknown [89.120.200.68]) by mail.postgresql.org (Postfix) with ESMTP id 253CD6340D9 for ; Thu, 25 Mar 2010 05:30:11 -0300 (ADT) Received: from marian by server-ibm.byteanywhere.com with local (Exim 4.69) (envelope-from ) id 1NuiPB-0005NU-Go for pgsql-odbc@postgresql.org; Thu, 25 Mar 2010 10:27:05 +0200 Date: Thu, 25 Mar 2010 10:27:05 +0200 From: Marian Popeanga To: pgsql-odbc@postgresql.org Subject: psqlodbc-08.04.0200 unicode Message-ID: <20100325082705.GA20627@byteanywhere.com> References: MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: User-Agent: Mutt/1.5.18 (2008-05-17) X-Virus-Scanned: Maia Mailguard 1.0.1 X-Spam-Status: No, hits=0.101 tagged_above=-10 required=5 tests=BAYES_50=0.001, RDNS_NONE=0.1 X-Spam-Level: X-Archive-Number: 201003/12 X-Sequence-Number: 10218 Hi, I am not able to connect to server 8.3 using this version psqlodbc-08.04.0200 of the driver, build with unixodbc 2.2.15( or 2.2.12). Both iusql and custom applications fail to connect using the unicode driver. isql, wich uses the ansi version works to connect. iusql ... [unixODBC]c [ISQL]ERROR: Could not SQLDriverConnect This is the unixodbc log : [ODBC][30330][SQLDriverConnectW.c][246] Entry: Connection = 0x182cd30 Window Hdl = (nil) Str In = [DSN=jal;UID=marian;PWD=glugacn][length = 30 (SQL_NTS)] Str Out = (nil) Str Out Max = 0 Str Out Ptr = (nil) Completion = 0 UNICODE Using encoding ASCII 'ISO8859-1' and UNICODE 'UCS-2LE' [ODBC][30330][SQLDriverConnectW.c][591] Exit:[SQL_ERROR] [ODBC][30330][SQLErrorW.c][317] Entry: Connection = 0x182cd30 SQLState = 0x7fff7e6b11f0 Native = 0x7fff7e6b1208 Message Text = 0x7fff7e6b0e00 Buffer Length = 500 Text Len Ptr = 0x7fff7e6b120e [ODBC][30330][SQLErrorW.c][358] Is this a known issue? Thanks, Marian