From: | Ludek Finstrle <luf(at)pzkagis(dot)cz> |
---|---|
To: | vidisha(dot)shah(at)tcs(dot)com |
Cc: | pgsql-odbc(at)postgresql(dot)org, hemant(dot)shinde(at)tcs(dot)com, ashok(dot)poojary(at)tcs(dot)com, aleksandrs(dot)milajevs(at)ge(dot)com |
Subject: | Re: Unable to Query the datatype varchar of PostgreSQL Server |
Date: | 2006-03-29 08:11:03 |
Message-ID: | 20060329081103.GA18148@soptik.pzkagis.cz |
Views: | Raw Message | Whole Thread | Download mbox | Resend email |
Thread: | |
Lists: | pgsql-hackers pgsql-odbc |
Hello,
> We are trying to fetch records from Postgre Tables.
>
> We are successfully able to build connectivity. We are Using Postgre ODBC
> Driver (Unicode).
>
> But when I query the tables of Postgre it is unable to map the datatype
> varchar of source Table.
When you use Unicode all VARCHAR is treated as not ansi but as
wide varchar (WVARCHAR).
Please try Postgres ODBC Driver (ANSI).
> CAUSE DETERMINATION
> ====================
> VARCHAR datatype from PostgreSQL is translated by your ODBC driver in an
> unsupported datatype for HSODBC.
What is HSODBC?
> To get confirmation, please have a look in the documentation:
>
> Oracle® Database Heterogeneous Connectivity Administrator's Guide
> 10g Release 2 (10.2)
> Part Number B14232-01
> B Data Type Mapping for Generic Connectivity
> B.1 Mapping ANSI Data Types to Oracle Data Types Through an ODBC Interface
Here is ANSI so why you don't use psqlodbc ANSI?
> Can you please suggest why varchar datatype is not correctly identified
> and what is the path to get solution?
It is correctly identified as I wrote above.
Regards,
Luf
From | Date | Subject | |
---|---|---|---|
Next Message | vidisha.shah | 2006-03-29 10:35:16 | Re: [ODBC] Unable to Query the datatype varchar of PostgreSQL Server |
Previous Message | Simon Riggs | 2006-03-29 08:08:27 | Re: Issue in Mapping varchar datatype of Postgre to |
From | Date | Subject | |
---|---|---|---|
Next Message | Marc Herbert | 2006-03-29 09:17:50 | Re: psqlODBC-Driver Test / text fields |
Previous Message | vidisha.shah | 2006-03-29 05:09:25 | Unable to Query the datatype varchar of PostgreSQL Server |