[unixODBC-support] Can not get ODBC to log from other Database

Nick Gorham nick.gorham at easysoft.com
Wed Mar 25 13:38:15 GMT 2009


Raul Orduna wrote:

>Do you have any change to obtain the logs??
>
>  
>
>>Just tried it here, I got a log ok, the failure is:
>>
>>[ODBC][5190][SQLGetInfo.c][218]
>>               Entry:
>>                       Connection = 0x14750b0
>>                       Info Type = SQL_CATALOG_NAME (10003)
>>                       Info Value = 0x7fffa68768e0
>>                       Buffer Length = 512
>>                       StrLen = 0x7fffa6876b74
>>[ODBC][5190][SQLGetInfo.c][537]
>>               Exit:[SQL_ERROR]
>>               DIAG [S1C00] Unrecognized key passed to SQLGetInfo.
>>
>>Thats using version 08.02.0500 of postgresql-odbc
>>
>>    
>>
>
>The error is the same that I have.
>
>  
>
>>Just to add to that, I have just tried building psqlodbc-08.03.0400 of 
>>the postgres driver and it seems to play nicely with dg4odbc
>>    
>>
>
>Sorry but, how do you make it?? I only use de postgres driver included in my distribution of unixODBC (2.2.14). How could I substitute it??
>
>
>Raúl
>_______________________________________________
>unixODBC-support mailing list
>unixODBC-support at mailman.unixodbc.org
>http://mailman.unixodbc.org/mailman/listinfo/unixodbc-support
>
>
>  
>
http://psqlodbc.projects.postgresql.org/

Download source, you may need to install the postgres-devel packages to 
build it,

configure

./configure --disable-unicode
make

install,

make install

and change the Driver= like in your odbcinst.ini to the new lib

Driver      = /usr/local/lib/psqlodbca.so

-- 
Nick Gorham
Easysoft Limited
http://www.easysoft.com, http://www.unixODBC.org



More information about the unixODBC-support mailing list