Re: How to get stored procedure args list from metadata tables ? - Mailing list pgsql-general

From Gauthier, Dave
Subject Re: How to get stored procedure args list from metadata tables ?
Date
Msg-id 0AD01C53605506449BA127FB8B99E5E1611461AD@FMSMSX105.amr.corp.intel.com
Whole thread Raw
In response to Re: How to get stored procedure args list from metadata tables ?  (Albe Laurenz <laurenz.albe@wien.gv.at>)
List pgsql-general
Excellent !
Thank You very much !


-----Original Message-----
From: Albe Laurenz [mailto:laurenz.albe@wien.gv.at]=20
Sent: Wednesday, February 13, 2013 9:30 AM
To: Gauthier, Dave; pgsql-general@postgresql.org
Subject: RE: How to get stored procedure args list from metadata tables ?

Dave Gauthier wrote:
> Looking for a table or view which contains the list of arguments that=20
> are passed to a stored procedure.  Doesn't seem to be in pg_proc.prosrc o=
r other pg_proc columns.

This information is in the following columns of pg_proc:
proargtypes, proallargtypes, proargmodes, proargnames

For a nice display, use
SELECT pg_get_function_identity_arguments('funcname'::regproc);

Yours,
Laurenz Albe

pgsql-general by date:

Previous
From: Albe Laurenz
Date:
Subject: Re: How to get stored procedure args list from metadata tables ?
Next
From: "Gauthier, Dave"
Date:
Subject: Re: How to get stored procedure args list from metadata tables ?