Skip site navigation (1) Skip section navigation (2)

Peripheral Links

Header And Logo

PostgreSQL
| The world's most advanced open source database.

Site Navigation

Search archives
  Advanced Search

Re: Need help with UnixODC to Postgres


  • From: Peter Harvey <pharvey(at)codebydesign(dot)com>
  • To: pgsql-odbc(at)postgresql(dot)org
  • Subject: Re: Need help with UnixODC to Postgres
  • Date: Thu, 13 Dec 2007 06:22:55 -0800
  • Message-id: <4761403F.4010104@codebydesign.com> <text/plain>

ssrai(at)ismartpanache(dot)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




Home | Main Index | Thread Index

Privacy Policy | About PostgreSQL
Copyright © 1996 – 2012 PostgreSQL Global Development Group