Need help with UnixODC to Postgres
am 13.12.2007 00:17:23 von Shyam Sunder Rai
Hello all,
Can someone tell me how to turn the Trace "on" for generating the ODB=
C call traces. I have already made the following changes:
Odbcinst.ini
TraceFile =3D /home/user1/traceout.log
Trace =3D yes
&&
odbc.ini
Trace=3D1
Debug=3D1
Cheers,
Sam
Re: Need help with UnixODC to Postgres
am 13.12.2007 15:22:55 von Peter Harvey
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
---------------------------(end of broadcast)---------------------------
TIP 1: if posting/reading through Usenet, please send an appropriate
subscribe-nomail command to majordomo@postgresql.org so that your
message can get through to the mailing list cleanly