Re: getting function argument names from psql?

Поиск
Список
Период
Сортировка
От Tom Lane
Тема Re: getting function argument names from psql?
Дата
Msg-id 2605.1152761824@sss.pgh.pa.us
обсуждение исходный текст
Ответ на Re: getting function argument names from psql?  ("Merlin Moncure" <mmoncure@gmail.com>)
Ответы Re: getting function argument names from psql?  (David Fetter <david@fetter.org>)
Список pgsql-general
"Merlin Moncure" <mmoncure@gmail.com> writes:
> On 7/12/06, Timothy Perrigo <tperrigo@wernervas.com> wrote:
>> Is there a way to get the names of the arguments to a function from
>> psql?  /df and /df+ return the parameter types, but not their names.

> select oid::regprocedure from pg_proc where proname like 'your name here';

Nope, because regprocedureout doesn't include argument names (nor modes).
I think the best way ATM is to look directly at pg_proc.proargnames :-(

            regards, tom lane

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

Предыдущее
От: Rich Shepard
Дата:
Сообщение: Re: SQL Standards Compliance With Case
Следующее
От: Jamie Deppeler
Дата:
Сообщение: Delete Problem