Received: from localhost (unknown [200.46.204.183]) by mail.postgresql.org (Postfix) with ESMTP id B636D650172 for ; Mon, 8 Dec 2008 16:52:49 -0400 (AST) Received: from mail.postgresql.org ([200.46.204.86]) by localhost (mx1.hub.org [200.46.204.183]) (amavisd-maia, port 10024) with ESMTP id 16590-07 for ; Mon, 8 Dec 2008 16:52:43 -0400 (AST) X-Greylist: from auto-whitelisted by SQLgrey-1.7.6 Received: from mail.synechron.com (mail.synechron.com [74.205.14.240]) by mail.postgresql.org (Postfix) with ESMTP id BB2906500AC for ; Mon, 8 Dec 2008 16:52:42 -0400 (AST) Received: from [10.31.9.119] [220.225.40.2] by mail.synechron.com with ESMTP (SMTPD-9.23) id A9180498; Mon, 08 Dec 2008 15:52:40 -0500 Message-ID: <493CDF8B.3060307@synechron.com> Date: Mon, 08 Dec 2008 14:19:15 +0530 From: AmitKumar Jain User-Agent: Thunderbird 2.0.0.18 (X11/20081105) MIME-Version: 1.0 To: "Hoover, Jeffrey" CC: pgsql-admin@postgresql.org Subject: Re: How can we see details of function in psql prompt References: <493CDD91.40205@synechron.com> In-Reply-To: Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-Virus-Scanned: Maia Mailguard 1.0.1 X-Spam-Status: No, hits=4.201 tagged_above=0 required=5 tests=DATE_IN_PAST_12_24=1.77, DNS_FROM_OPENWHOIS=2.431 X-Spam-Level: **** X-Archive-Number: 200812/62 X-Sequence-Number: 30895 admin=# \x Expanded display is on. admin=# select * from pg_proc where proname = 'abstime'; -[ RECORD 1 ]--+-------------------- proname | abstime pronamespace | 11 proowner | 10 prolang | 12 procost | 1 prorows | 0 proisagg | f prosecdef | f its only showing the information about the function not what exactly written insdie the function. I need to know the definition of function through psql prompt. Hoover, Jeffrey wrote: > 1. assuming a function named "appendrows" > > select * from pg_proc where proname='appendrows'; > > > -----Original Message----- > From: pgsql-admin-owner@postgresql.org > [mailto:pgsql-admin-owner@postgresql.org] On Behalf Of AmitKumar Jain > Sent: Monday, December 08, 2008 3:41 AM > To: pgsql-admin@postgresql.org > Subject: [ADMIN] How can we see details of function in psql prompt > > Hi, > > 1. Could any one please suggest me that how can I see the details of > function through psql prompt. > 2. We can use cactii as a monitoring tool for mysql what is the similar > monitoring tool except nagios for postgreSQL > > > Thankx in Advance > Amit > >