From ssrai@ismartpanache.com Wed Dec 12 23:17:30 2007 Received: from localhost (unknown [200.46.204.187]) by postgresql.org (Postfix) with ESMTP id 6BB012E01D0; Wed, 12 Dec 2007 19:17:30 -0400 (AST) Received: from postgresql.org ([200.46.204.71]) by localhost (mx1.hub.org [200.46.204.187]) (amavisd-maia, port 10024) with ESMTP id 95961-04; Wed, 12 Dec 2007 19:17:20 -0400 (AST) Received: from app02.sm.onr.chicago.hostway (unknown [64.26.60.152]) by postgresql.org (Postfix) with ESMTP id E1C622E01E5; Wed, 12 Dec 2007 19:17:24 -0400 (AST) Received: from localhost (localhost [127.0.0.1]) by app02.sm.onr.chicago.hostway (Postfix) with ESMTP id 99842C40EA; Wed, 12 Dec 2007 17:17:23 -0600 (CST) MIME-Version: 1.0 X-Mailer: AtMail PHP 5.04 Message-ID: <5281.1197501443@ismartpanache.com> To: Reply-To: ssrai@ismartpanache.com Content-Type: text/html; charset="utf-8" X-Origin: 63.80.24.130 Date: Wed, 12 Dec 2007 17:17:23 -0600 Subject: Need help with UnixODC to Postgres From: ssrai@ismartpanache.com Cc: Content-Transfer-Encoding: quoted-printable X-Virus-Scanned: Maia Mailguard 1.0.1 X-Spam-Status: No, hits=1.559 tagged_above=0 required=5 tests=BAYES_50=0.001, HTML_MESSAGE=0.001, MIME_HTML_ONLY=1.457, RDNS_NONE=0.1 X-Spam-Level: * X-Archive-Number: 200712/17 X-Sequence-Number: 9295 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
From pharvey@codebydesign.com Thu Dec 13 14:20:10 2007 Received: from localhost (unknown [200.46.204.183]) by postgresql.org (Postfix) with ESMTP id B66042E367B for ; Thu, 13 Dec 2007 10:20:10 -0400 (AST) Received: from postgresql.org ([200.46.204.71]) by localhost (mx1.hub.org [200.46.204.183]) (amavisd-maia, port 10024) with ESMTP id 36296-01-3 for ; Thu, 13 Dec 2007 10:20:04 -0400 (AST) Received: from mx.dccnet.com (mx.dccnet.com [24.207.1.250]) by postgresql.org (Postfix) with ESMTP id 5BE652E33C8 for ; Thu, 13 Dec 2007 10:20:02 -0400 (AST) Received: from [192.168.0.13] (unverified [24.207.126.135]) by mx.dccnet.com (DCCNet Email Cluster2) with ESMTP id 89035102-1865385 for ; Thu, 13 Dec 2007 06:19:59 -0800 Message-ID: <4761403F.4010104@codebydesign.com> Date: Thu, 13 Dec 2007 06:22:55 -0800 From: Peter Harvey Organization: CodeByDesign User-Agent: Mozilla/5.0 (X11; U; Linux i686 (x86_64); en-US; rv:1.8.1.11) Gecko/20071128 SeaMonkey/1.1.7 MIME-Version: 1.0 To: pgsql-odbc@postgresql.org Subject: Re: Need help with UnixODC to Postgres References: <5281.1197501443@ismartpanache.com> In-Reply-To: <5281.1197501443@ismartpanache.com> Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit X-Virus-Scanned: Maia Mailguard 1.0.1 X-Spam-Status: No, hits=0.001 tagged_above=0 required=5 tests=BAYES_50=0.001 X-Spam-Level: X-Archive-Number: 200712/19 X-Sequence-Number: 9297 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