pg.ddx.io  pgsql-odbc@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Peter Harvey <pharvey@codebydesign.com>
To: pgsql-odbc@postgresql.org
Subject: Re: Need help with UnixODC to Postgres
Date: Thu, 13 Dec 2007 06:22:55 -0800
Message-ID: <4761403F.4010104@codebydesign.com> (raw)
In-Reply-To: <5281.1197501443@ismartpanache.com>
References: <5281.1197501443@ismartpanache.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




view thread (2+ messages)

Message-ID: <4761403F.4010104@codebydesign.com>
Permalink:  ../4761403F.4010104@codebydesign.com/
Also on:    postgresql.org/message-id/4761403F.4010104@codebydesign.com

 · 

reply

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Reply to all the recipients from your mail client; the link fills in
  the headers below: reply via email
  Some clients, webmail especially, drop In-Reply-To and References from
  a link, and the reply then starts a new thread: use the mbox below.

  To: pgsql-odbc@postgresql.org
  Cc: pharvey@codebydesign.com
  Subject: Re: Need help with UnixODC to Postgres
  In-Reply-To: <4761403F.4010104@codebydesign.com>
  References: <5281.1197501443@ismartpanache.com> <4761403F.4010104@codebydesign.com>

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox