Re: FUNCTION DEFINITION

From: Richard Huxton <dev(at)archonet(dot)com>
To: ABHANG RANE <arane(at)indiana(dot)edu>
Cc: pgsql-general(at)postgresql(dot)org
Subject: Re: FUNCTION DEFINITION
Date: 2007-06-22 17:05:13
Message-ID: 467C0149.3020400@archonet.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general

ABHANG RANE wrote:
> Hi,
> If I have created a plpgsql function, is there a way I can look again at
> the create statement of that function. I need to know what exactly is
> there in the function.

From psql: \df+ my_function

From command-line: pg_dump --schema-only my_database > my_db_dump.sql

Second one is easier to scroll through/edit.

--
Richard Huxton
Archonet Ltd

In response to

Browse pgsql-general by date

  From Date Subject
Next Message Joshua D. Drake 2007-06-22 17:05:17 Re: FUNCTION DEFINITION
Previous Message ABHANG RANE 2007-06-22 16:58:34 FUNCTION DEFINITION