"#if (ODBCVER >= 0x0399)" in info.c?

From: "Han" <zhouhanok(at)vip(dot)sina(dot)com>
To: pgsql-odbc(at)postgresql(dot)org <pgsql-odbc(at)postgresql(dot)org>
Subject: "#if (ODBCVER >= 0x0399)" in info.c?
Date: 2002-11-22 03:49:54
Message-ID: 20021122034955.10EC9475AE4@postgresql.org
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: 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(at)vip(dot)sina(dot)com
          2002-11-22

Responses

Browse pgsql-odbc by date

  From Date Subject
Next Message markw 2002-11-22 03:57:14 Very large queries with ODBC
Previous Message Joan Picanyol i Puig 2002-11-22 00:33:25 Re: insert into view with a defined rule fails from MSAccess