Re: How can I display the contents of a function?

From: Igor Katson <descentspb(at)gmail(dot)com>
To: Thom Brown <thombrown(at)gmail(dot)com>
Cc: pgsql-general(at)postgresql(dot)org
Subject: Re: How can I display the contents of a function?
Date: 2009-01-19 13:05:38
Message-ID: 49747AA2.6020501@gmail.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general

Thom Brown wrote:
> I would like to see what's in a function. I can do this if I use
> pgAdmin III just by clicking on the function, and it appears in the
> SQL pane opposite. But how is this done? Is there a command like
> DESCRIBE FUNCTION logging.do_stuff; ? And if possible, doing this
> without psql.
>
> Thanks
>
> Thom
You can do
\df+ function_name(arg type, arg type...)
in psql

In response to

Browse pgsql-general by date

  From Date Subject
Next Message Thom Brown 2009-01-19 13:07:52 Re: How can I display the contents of a function?
Previous Message Igor Katson 2009-01-19 13:04:49 Re: How can I display the contents of a function?