psqlodbc and wide characters under windows and Unix - Mailing list pgsql-odbc

From Ibrahim El-Fayoumi
Subject psqlodbc and wide characters under windows and Unix
Date
Msg-id OF89873E35.668C1CE4-ON48256E85.002B0F21-48256E85.002B8339@erggroup.com
Whole thread Raw
List pgsql-odbc

Hello
I am writing a generic program that should work under both windows and Solaris to access a postgres database using ODBC, the problem I am having is inserting wide characters under windows now, when I bind the wide character variable as SQL_WCHAR and bind to a c type of SQL_C_WCHAR, the insert statement fails and somehow the insert statement abruptly ended before inserting the value of the wide char. I tried to use many combination without success.
I am using psqlodbc version psqlodbc-07.03.0209 to access a postgres database 7.4.2
The problem I am having with this driver is under windows now, using the Postgres ODBC driver (ODBC 3.51)
Any help will be appreciated.
Ibrahim
ERG Transit Systems
247 Balcatta Road Balcatta WA 6021 Australia
Tel: + 61 8 9273 1620 Fax: +61 8 9273 1535
Email: ielfayou@erggroup.com Website: www.erggroup.com

pgsql-odbc by date:

Previous
From: "Sydney Delieu"
Date:
Subject: ODBC 7.03.02 on Windows connecting to PostgreSQL 7.4 using SSL
Next
From: scott@porchdogsoft.com (Sculi2000)
Date:
Subject: ODBC and remote connectivity