"#if (ODBCVER >= 0x0399)" in info.c? - Mailing list pgsql-odbc

From Han
Subject "#if (ODBCVER >= 0x0399)" in info.c?
Date
Msg-id 20021122034955.10EC9475AE4@postgresql.org
Whole thread Raw
Responses Re: "#if (ODBCVER >= 0x0399)" in info.c?  ("Hiroshi Inoue" <Inoue@tpf.co.jp>)
List pgsql-odbc
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




pgsql-odbc by date:

Previous
From: Hiroshi Inoue
Date:
Subject: Re: Text field truncation problem
Next
From: markw
Date:
Subject: Very large queries with ODBC