pg.ddx.io  pgsql-odbc@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Marian Popeanga <marian@byteanywhere.com>
To: pgsql-odbc@postgresql.org
Subject: psqlodbc-08.04.0200 unicode
Date: Wed, 24 Mar 2010 12:14:23 +0200
Message-ID: <20100324101423.GA30251@byteanywhere.com> (raw)



     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



view thread (3+ messages)  latest in thread

Message-ID: <20100324101423.GA30251@byteanywhere.com>
Permalink:  ../20100324101423.GA30251@byteanywhere.com/
Also on:    postgresql.org/message-id/20100324101423.GA30251@byteanywhere.com

 · 

reply

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Reply to all the recipients from your mail client; the link fills in
  the headers below: reply via email
  Some clients, webmail especially, drop In-Reply-To and References from
  a link, and the reply then starts a new thread: use the mbox below.

  To: pgsql-odbc@postgresql.org
  Cc: marian@byteanywhere.com
  Subject: Re: psqlodbc-08.04.0200 unicode
  In-Reply-To: <20100324101423.GA30251@byteanywhere.com>
  References: <20100324101423.GA30251@byteanywhere.com>

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox