Need help with UnixODC to Postgres

<HTML>
Hello all,<br>
<br>
Can someone tell me how to turn the Trace "on" for  generating the ODB=
C call traces. I have already made the following changes:<br>
<br>
Odbcinst.ini <br>
TraceFile =3D /home/user1/traceout.log<br>
Trace =3D yes<br>
<br>
&&<br>
<br>
odbc.ini<br>
Trace=3D1<br>
Debug=3D1<br>
<br>
<br>
Cheers,
<br>
Sam <BR></HTML>
Shyam Sunder Rai [ Do, 13 Dezember 2007 00:17 ] [ ID #1888960 ]

Re: Need help with UnixODC to Postgres

ssrai [at] 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 [at] postgresql.org so that your
message can get through to the mailing list cleanly
Peter Harvey [ Do, 13 Dezember 2007 15:22 ] [ ID #1888962 ]
Datenbanken » gmane.comp.db.postgresql.odbc » Need help with UnixODC to Postgres

Vorheriges Thema: IIS Only Opens One Database Connection At A Time
Nächstes Thema: Documentation for PostgreSQL win32 ODBC-Driver 8.02.05.00 and connection strings