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

Nick Gorham nick at lurcher.org
Wed Mar 25 09:39:00 GMT 2009


Raul Orduna wrote:

>Sorry about this,
>
>I made a request some days ago and I have not received response or confirmation. I have seen other request and responses and I think there was any problem with communications.
>
>Could you confirm the reception or resend any response??
>  
>
Got this one, no sign of any earlier one.

>Thanks.
>Raúl
>
>The original message was:
>--------------------------------------------------------------------------
>I am trying to get the ODBC driver error from the trace file, but it is not created. When I use isql the trace and file are generated, but when I use a database link from oracle to postgresql through ODBC (dg4odbc gateway) the unixodbc returns an error but the file is not created. I need the logs to study the real problem.
>
> 
>
>Now the only thing I know is:
>
>"[unixODBC]Unrecognized key passed to SQLGetInfo."
>  
>

I would check that the permissions that dg4odbc is running as can write 
to the log file. That error is comming from the postgres driver, I 
suspect SQLGetInfo is being called with a atribute that the driver 
doesn't support.

-- 
Nick


More information about the unixODBC-support mailing list