From: Chris Hoover <revoohc@gmail.com>
To: pgsql-odbc@postgresql.org
Subject: Any way to see parameters
Date: Tue, 11 Sep 2007 17:02:08 -0400
Message-ID: <1d219a6f0709111402yc8329ffx71fa6eb8a6bb131@mail.gmail.com> (raw)
We are having some issues in our development shop, and I wanted to know if
there is any way to see the parameters passed in a query in the odbc log. I
have turned debug on, and I am getting a log of all of the queries. I see
the parameters after they are added into the query, but I would like a
listing of each parameter value before the query substitution occurs. Is
there anyway to see this?
Example:
PGAPI_Execute: clear errors...
PGAPI_Execute: copying statement params: trans_status=2, len=75,
stmt='UPDATE CLMCOM1 SET SUBMIT_L_NAME_ORG = ? WHERE INV_NBR = ? AND INV_QFR
= ? '
copy_statement_with_params: from(fcType)=1, to(fSqlType)=1 -- IS THERE
ANYWAY TO SEE THIS PARAM VALUE HERE?
copy_statement_with_params: from(fcType)=4, to(fSqlType)=4 -- IS THERE
ANYWAY TO SEE THIS PARAM VALUE HERE?
copy_statement_with_params: from(fcType)=1, to(fSqlType)=1 -- IS THERE
ANYWAY TO SEE THIS PARAM VALUE HERE?
Thanks,
Chris
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: revoohc@gmail.com
Subject: Re: Any way to see parameters
In-Reply-To: <1d219a6f0709111402yc8329ffx71fa6eb8a6bb131@mail.gmail.com>
References: <1d219a6f0709111402yc8329ffx71fa6eb8a6bb131@mail.gmail.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