Received: from localhost (maia-5.hub.org [200.46.204.182]) by postgresql.org (Postfix) with ESMTP id 850B99FB5FB for ; Fri, 23 Mar 2007 02:15:03 -0300 (ADT) Received: from postgresql.org ([200.46.204.71]) by localhost (mx1.hub.org [200.46.204.182]) (amavisd-new, port 10024) with ESMTP id 58495-04 for ; Fri, 23 Mar 2007 02:14:49 -0300 (ADT) X-Greylist: domain auto-whitelisted by SQLgrey-1.7.4 Received: from an-out-0708.google.com (an-out-0708.google.com [209.85.132.240]) by postgresql.org (Postfix) with ESMTP id 9D42B9FB5EA for ; Fri, 23 Mar 2007 02:14:51 -0300 (ADT) Received: by an-out-0708.google.com with SMTP id c24so1082787ana for ; Thu, 22 Mar 2007 22:14:50 -0700 (PDT) DKIM-Signature: a=rsa-sha1; c=relaxed/relaxed; d=gmail.com; s=beta; h=domainkey-signature:received:received:message-id:date:from:to:subject:mime-version:content-type; b=XGGaQL1Zs25W7GMTzzJiXIrzEJEiX6YvE4QHGfEYyOulzbo6vMuSZa2kLJm+rKGfCpxTipICJRl17cVvZR2r3QseJL2Jd8SdPhLqybmL3LRKWh1Cu05PqvuQXi5D6iLgTx7dO1XNtR+7gpdJdPkr70z1YXRA6EXU0dCeTSLco7U= 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=eWqyt+AO7BCEoEHv+cT676fNCOgiUDHjRnp6arbzcTzSkuFh+TR48CKScWe3MakRKZymEm1CuYe3fbwzY66MSog++IrahItdBdh5ZoVAdU55RSnl4cjO57RsboaHz75wCrnsc0FGvPJzRn2I1impn/xlxc4p+TmXW1sqBZmjv80= Received: by 10.100.144.11 with SMTP id r11mr2315187and.1174626890034; Thu, 22 Mar 2007 22:14:50 -0700 (PDT) Received: by 10.100.44.5 with HTTP; Thu, 22 Mar 2007 22:14:49 -0700 (PDT) Message-ID: <75ff88c60703222214v30bc2deble8b588b29f6a3fad@mail.gmail.com> Date: Fri, 23 Mar 2007 10:44:49 +0530 From: "Anoo Pillai" To: pgsql-admin@postgresql.org, pgsql-general@postgresql.org Subject: How to get the DML Commands exceuted from functions MIME-Version: 1.0 Content-Type: multipart/alternative; boundary="----=_Part_153868_7684301.1174626889993" X-Virus-Scanned: Maia Mailguard 1.0.1 X-Archive-Number: 200703/166 X-Sequence-Number: 24990 ------=_Part_153868_7684301.1174626889993 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Content-Disposition: inline Hi All, There are a few plpgsql functions in our application, When the functions are called, I would like to see the commands executed from the functions ( the selects, inserts, updates and Deletes written in the function body) I am from SQL server world and there exists a tool SQL Profiler for the same purpose. I am looking for something like that Thanks in advance Anoo.S ------=_Part_153868_7684301.1174626889993 Content-Type: text/html; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Content-Disposition: inline
Hi All,
 
There are a few plpgsql functions in our application, When the functions are called, I would like to see the commands executed from the functions ( the selects, inserts, updates and Deletes written in the function body) 
 
I am from SQL server world and there exists a tool SQL Profiler for the same purpose. I am looking for something like that
 
 
Thanks in advance
 
Anoo.S
------=_Part_153868_7684301.1174626889993--