X-Original-To: pgsql-sql-postgresql.org@postgresql.org Received: from localhost (mx1.hub.org [200.46.208.251]) by postgresql.org (Postfix) with ESMTP id D0A429FB203 for ; Wed, 12 Jul 2006 20:28:51 -0300 (ADT) Received: from postgresql.org ([200.46.204.71]) by localhost (mx1.hub.org [200.46.208.251]) (amavisd-new, port 10024) with ESMTP id 99659-06 for ; Wed, 12 Jul 2006 20:28:43 -0300 (ADT) X-Greylist: domain auto-whitelisted by SQLgrey- Received: from ug-out-1314.google.com (ug-out-1314.google.com [66.249.92.172]) by postgresql.org (Postfix) with ESMTP id B8FB19FB1FC for ; Wed, 12 Jul 2006 20:28:43 -0300 (ADT) Received: by ug-out-1314.google.com with SMTP id m2so45190uge for ; Wed, 12 Jul 2006 16:28:42 -0700 (PDT) DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=beta; d=gmail.com; h=received:message-id:date:from:sender:to:subject:mime-version:content-type:x-google-sender-auth; b=FQoQZeASydFP2/zhUCZeb6WRYUrWJTDG0JFoxxqJ0M8AEs/7IrD8Dw25v7RFwkmFF5+Xzm7zoPlOl/erfqev9veXUxJI0ZivArSLGb/JejV9osvvAMCXhc4FcMwxhqqfv7BK1paQYLBVGE4a9GLWCGL0o3w7JArEtYKE9JfRvog= Received: by 10.78.138.14 with SMTP id l14mr110196hud; Wed, 12 Jul 2006 16:28:42 -0700 (PDT) Received: by 10.78.29.15 with HTTP; Wed, 12 Jul 2006 16:28:42 -0700 (PDT) Message-ID: Date: Wed, 12 Jul 2006 18:28:42 -0500 From: "Aaron Bono" To: "Postgres SQL language list" Subject: Logging in Stored Procedure MIME-Version: 1.0 Content-Type: multipart/alternative; boundary="----=_Part_57_1619953.1152746922132" X-Google-Sender-Auth: c9f98f653013dec3 X-Virus-Scanned: Maia Mailguard 1.0.1 X-Archive-Number: 200607/197 X-Sequence-Number: 25771 ------=_Part_57_1619953.1152746922132 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Content-Disposition: inline OK, maybe a stupid simple question but, how do you add logging to a stored procedure? My procedure is running but the results I get are not complete and I need to see better what is going wrong. The tool I use has a debugger but the debugger is barfing at a particular line that, when run without the debugger, works with no errors so I know there is something wrong with the debugger. Thanks, Aaron -- ================================================================== Aaron Bono Aranya Software Technologies, Inc. http://www.aranya.com ================================================================== ------=_Part_57_1619953.1152746922132 Content-Type: text/html; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Content-Disposition: inline OK, maybe a stupid simple question but, how do you add logging to a stored procedure?  My procedure is running but the results I get are not complete and I need to see better what is going wrong.  The tool I use has a debugger but the debugger is barfing at a particular line that, when run without the debugger, works with no errors so I know there is something wrong with the debugger.

Thanks,
Aaron

--
==================================================================
   Aaron Bono
   Aranya Software Technologies, Inc.
   http://www.aranya.com
================================================================== ------=_Part_57_1619953.1152746922132--