Received: from localhost (postgresql.org [64.49.215.8]) by postgresql.org (Postfix) with ESMTP id 19DF3475AE6 for ; Thu, 21 Nov 2002 22:50:01 -0500 (EST) Received: from vip.sina.com (unknown [202.108.35.178]) by postgresql.org (Postfix) with SMTP id 10EC9475AE4 for ; Thu, 21 Nov 2002 22:49:55 -0500 (EST) Received: (qmail 59211 invoked from network); 22 Nov 2002 03:49:41 -0000 Received: from unknown (HELO zh) (218.108.232.5) by 202.108.35.178 with SMTP; 22 Nov 2002 03:49:41 -0000 From: "Han" To: pgsql-odbc@postgresql.org Subject: "#if (ODBCVER >= 0x0399)" in info.c? X-mailer: Foxmail 4.2 [cn] Mime-Version: 1.0 Content-Type: text/plain; charset="GB2312" Content-Transfer-Encoding: quoted-printable Date: Fri, 22 Nov 2002 11:49:54 +0800 Message-Id: <20021122034955.10EC9475AE4@postgresql.org> X-Virus-Scanned: by AMaViS new-20020517 X-Archive-Number: 200211/117 X-Sequence-Number: 2294 Hi, What's the meaning of the three lines of "#if (ODBCVER >=3D 0x0399)" in fu= nction PGAPI_GetTypeInfo? If 0x0300 means ODBC3.0, then what's the meaning of 0x0399(or 0x0350--I fo= und an occurrence in SQL_EXT.h in VC++ code)? Can I define ODBCVER in psqlodbc to 0x0399 to make those code useful to re= turn more infomation like SQL_DATETIME_SUB/INTERVAL_PRECISION? Thanks and regards!!! =09 =A1=A1=A1=A1=A1=A1=A1=A1=A1=A1=A1=A1=A1=A1=A1=A1 =20=09=09=09=09 =A1=A1=A1=A1=A1=A1=A1=A1=A1=A1=A1=A1=A1=A1=A1=A1Han =A1=A1=A1=A1=A1=A1=A1=A1=A1=A1=A1=A1=A1=A1=A1=A1zhouhanok@vip.sina.com =A1=A1=A1=A1=A1=A1=A1=A1=A1=A1=A1=A1=A1=A1=A1=A1=A1=A1=A1=A12002-11-22