pg.ddx.io pgsql-odbc@postgresql.org mailing list archive
help / color / mirror / Atom feedAny way to see parameters
2+ messages / 2 participants
[nested] [flat]
* Any way to see parameters
@ 2007-09-11 21:02 Chris Hoover <revoohc@gmail.com>
2007-09-12 07:54 ` Re: Any way to see parameters Ludek Finstrle <luf@pzkagis.cz>
0 siblings, 1 reply; 2+ messages in thread
From: Chris Hoover @ 2007-09-11 21:02 UTC (permalink / raw)
To: pgsql-odbc
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
^ permalink raw reply [nested|flat] 2+ messages in thread
* Re: Any way to see parameters
2007-09-11 21:02 Any way to see parameters Chris Hoover <revoohc@gmail.com>
@ 2007-09-12 07:54 ` Ludek Finstrle <luf@pzkagis.cz>
0 siblings, 0 replies; 2+ messages in thread
From: Ludek Finstrle @ 2007-09-12 07:54 UTC (permalink / raw)
To: Chris Hoover <revoohc@gmail.com>; +Cc: pgsql-odbc
> 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?
Yes. You can see them in mylog output (it's larger and slow down the
computer).
Regards,
Luf
^ permalink raw reply [nested|flat] 2+ messages in thread
end of thread, other threads:[~2007-09-12 07:54 UTC | newest]
Thread overview: 2+ messages (download: mbox mbox.gz follow: Atom feed)
-- links below jump to the message on this page --
2007-09-11 21:02 Any way to see parameters Chris Hoover <revoohc@gmail.com>
2007-09-12 07:54 ` Ludek Finstrle <luf@pzkagis.cz>
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