Re: How to get stored procedure args list from metadata tables ?

From: Albe Laurenz <laurenz(dot)albe(at)wien(dot)gv(dot)at>
To: "Gauthier, Dave *EXTERN*" <dave(dot)gauthier(at)intel(dot)com>, "pgsql-general(at)postgresql(dot)org" <pgsql-general(at)postgresql(dot)org>
Subject: Re: How to get stored procedure args list from metadata tables ?
Date: 2013-02-13 14:30:04
Message-ID: A737B7A37273E048B164557ADEF4A58B057B2CE9@ntex2010a.host.magwien.gv.at
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general

Dave Gauthier wrote:
> Looking for a table or view which contains the list of arguments that are passed to a stored
> procedure. Doesn't seem to be in pg_proc.prosrc or 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

In response to

Responses

Browse pgsql-general by date

  From Date Subject
Next Message Gauthier, Dave 2013-02-13 14:38:37 Re: How to get stored procedure args list from metadata tables ?
Previous Message Adrian Klaver 2013-02-13 14:26:20 Re: How to get stored procedure args list from metadata tables ?