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

Поиск
Список
Период
Сортировка
От Gauthier, Dave
Тема Re: How to get stored procedure args list from metadata tables ?
Дата
Msg-id 0AD01C53605506449BA127FB8B99E5E1611461DE@FMSMSX105.amr.corp.intel.com
обсуждение исходный текст
Ответ на Re: How to get stored procedure args list from metadata tables ?  (Adrian Klaver <adrian.klaver@gmail.com>)
Список pgsql-general
Actually, how do you discriminate between 2 different procedures that have =
the same name but different number of args (using pg_get_function_arguments=
)?  The function bocks when the procedure name is not unique.

-----Original Message-----
From: Adrian Klaver [mailto:adrian.klaver@gmail.com]=20
Sent: Wednesday, February 13, 2013 9:26 AM
To: Gauthier, Dave
Cc: pgsql-general@postgresql.org
Subject: Re: [GENERAL] How to get stored procedure args list from metadata =
tables ?

On 02/13/2013 06:13 AM, Gauthier, Dave wrote:
> Hi:
>
> 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=20
> pg_proc.prosrc or other pg_proc columns.
>
> Thanks in Advance for any help.
>
http://www.postgresql.org/docs/9.2/interactive/catalog-pg-proc.html

proargtype, proallargtypes, proargmodes, proargnames, proargdefaults

Example:

production=3D# SELECT proargnames from pg_proc where proname =3D'close_tag_=
order';=20

              proargnames=20
=20

--------------------------------------=20
=20

  {_order_no,not_rcv_ct,tag_change_ct}

--
Adrian Klaver
adrian.klaver@gmail.com

В списке pgsql-general по дате отправления:

Предыдущее
От: "Gauthier, Dave"
Дата:
Сообщение: Re: How to get stored procedure args list from metadata tables ?
Следующее
От: "james.sewell"
Дата:
Сообщение: archive_mode=on on a Slave in streaming replication mode