Need help with UnixODC to Postgres

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

Need help with UnixODC to Postgres

От:
ssrai@ismartpanache.com
Дата:
 Hello all,

Can someone tell me how to turn the Trace "on" for  generating the ODBC call traces. I have already made the following changes:

Odbcinst.ini
TraceFile = /home/user1/traceout.log
Trace = yes

&&

odbc.ini
Trace=1
Debug=1


Cheers,
Sam

Re: Need help with UnixODC to Postgres

От:
Peter Harvey <pharvey@codebydesign.com>
Дата:
ssrai@ismartpanache.com wrote:
> Hello all,
>
> Can someone tell me how to turn the Trace "on" for  generating the 
> ODBC call traces. I have already made the following changes:
>
> Odbcinst.ini
> TraceFile = /home/user1/traceout.log
> Trace = yes
>
> &&
>
> odbc.ini
> Trace=1
> Debug=1
>
>
> Cheers,
> Sam
Try odbcinst -j to ensure that you are editing the correct odbcinst.ini.

Then try something like...

[ODBC]
Trace           = 1
ForceTrace              = 1
TraceFile               = /tmp/sql.log


--
Peter

FAQ