From: Han <zhouhanok@vip.sina.com>
To: pgsql-odbc@postgresql.org <pgsql-odbc@postgresql.org>
Subject: "#if (ODBCVER >= 0x0399)" in info.c?
Date: Fri, 22 Nov 2002 11:49:54 +0800
Message-ID: <20021122034955.10EC9475AE4@postgresql.org> (raw)
Hi,
What's the meaning of the three lines of "#if (ODBCVER >= 0x0399)" in function PGAPI_GetTypeInfo?
If 0x0300 means ODBC3.0, then what's the meaning of 0x0399(or 0x0350--I found an occurrence in SQL_EXT.h in VC++ code)?
Can I define ODBCVER in psqlodbc to 0x0399 to make those code useful to return more infomation like SQL_DATETIME_SUB/INTERVAL_PRECISION?
Thanks and regards!!!
Han
zhouhanok@vip.sina.com
2002-11-22
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: "#if (ODBCVER >= 0x0399)" in info.c?
In-Reply-To: <20021122034955.10EC9475AE4@postgresql.org>
References: <20021122034955.10EC9475AE4@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