Обсуждение: "#if (ODBCVER >= 0x0399)" in info.c?

Поиск
Список
Период
Сортировка

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

От
"Han"
Дата:
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




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

От
"Hiroshi Inoue"
Дата:
> -----Original Message-----
> From: Han
>
> Hi,
>     What's the meaning of the three lines of "#if (ODBCVER >=
> 0x0399)" in function PGAPI_GetTypeInfo?

Oops I forgot to commit the change to fix the code. It must be 0x0399
and several places should be changed also.
I've just committed the change to cvs at
http://gborg.postgresql.org/project/psqlodbc/projdisplay.php.

regards,
Hiroshi Inoue