Received: from localhost (unknown [200.46.204.183]) by postgresql.org (Postfix) with ESMTP id D7D1F9F9502 for ; Tue, 11 Sep 2007 18:02:14 -0300 (ADT) Received: from postgresql.org ([200.46.204.71]) by localhost (mx1.hub.org [200.46.204.183]) (amavisd-maia, port 10024) with ESMTP id 61078-03 for ; Tue, 11 Sep 2007 18:02:11 -0300 (ADT) X-Greylist: domain auto-whitelisted by SQLgrey-1.7.5 Received: from ug-out-1314.google.com (ug-out-1314.google.com [66.249.92.173]) by postgresql.org (Postfix) with ESMTP id 716199F94FD for ; Tue, 11 Sep 2007 18:02:10 -0300 (ADT) Received: by ug-out-1314.google.com with SMTP id j3so149921ugf for ; Tue, 11 Sep 2007 14:02:09 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=beta; h=domainkey-signature:received:received:message-id:date:from:to:subject:mime-version:content-type; bh=KiGE44ZRMBM2zz5YAGjro3+w40m2eG269Y8BmV1RNow=; b=iXafaKJgdZKVLzYTBH56c4jmntRMxGGlvbp1uxuev8WR0kUtujdrKKA19UqW5SsZG5UDFkHwEclpdavKWQwui+rNI4/kTAIiDxh6QA25eviZu8weqwLXvY4J6qYk61gPPX0mWwJULXGXqLEdd9QSr6Dn/Mt3GH4HDOCN0XQCsYY= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=beta; h=received:message-id:date:from:to:subject:mime-version:content-type; b=pd2QTPPqGx43RlK0+igz7RjVhvLVosPkLgd83hxR9nmZmsACLbUAsbiFsaVSqVbwVTgjHiDTpYyKrAhaUrcINoNYBjy0KmwvvwxSg78r6kHx45bdktFg7c0MZDm1wB8WJdtsHi5Fr5bjlo0tDbIw9bHVZn7E0LSXQTJAX0lsLqA= Received: by 10.78.200.20 with SMTP id x20mr2819854huf.1189544529155; Tue, 11 Sep 2007 14:02:09 -0700 (PDT) Received: by 10.78.201.16 with HTTP; Tue, 11 Sep 2007 14:02:08 -0700 (PDT) Message-ID: <1d219a6f0709111402yc8329ffx71fa6eb8a6bb131@mail.gmail.com> Date: Tue, 11 Sep 2007 17:02:08 -0400 From: "Chris Hoover" To: pgsql-odbc@postgresql.org Subject: Any way to see parameters MIME-Version: 1.0 Content-Type: multipart/alternative; boundary="----=_Part_18485_24329161.1189544528749" X-Virus-Scanned: Maia Mailguard 1.0.1 X-Archive-Number: 200709/12 X-Sequence-Number: 9175 ------=_Part_18485_24329161.1189544528749 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Content-Disposition: inline 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 ------=_Part_18485_24329161.1189544528749 Content-Type: text/html; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Content-Disposition: inline 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

------=_Part_18485_24329161.1189544528749--