From: Han <zhouhanok@vip.sina.com>
To: pgsql-odbc@postgresql.org <pgsql-odbc@postgresql.org>
Subject: Problems about ODBC3 datetime
Date: Thu, 21 Nov 2002 14:52:37 +0800
Message-ID: <20021121065238.3CE824758FE@postgresql.org> (raw)
Hi,
Firstly, I encountered a problem when using SQL_DATE: when I use SQLGetTypeInfo(...,SQL_DATE);
the API returns no record. I debuged the psqlodbc driver and found that the value of the parameter DataType was 91. So I think that the value was changed by the odbc30 Driver Manager. But why don't the psqlodbc add the SQL_TYPE_DATE and other ODBC30 data types support in the array sqlTypes[](in pgtypes.c)?
Secondly, I wander why returning SQL_DATETIME in function pgtype_to_sqldesctype for the three types--SQL_TYPE_DATE, SQL_TYPE_TIME, SQL_TYPE_TIMESTAMP?
Thanks!!!
Han
zhouhanok@vip.sina.com
2002-11-21
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: zhouhanok@vip.sina.com
Subject: Re: Problems about ODBC3 datetime
In-Reply-To: <20021121065238.3CE824758FE@postgresql.org>
References: <20021121065238.3CE824758FE@postgresql.org>
* 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