Re: viewing user defined functions

Поиск
Список
Период
Сортировка
От Joshua Tolley
Тема Re: viewing user defined functions
Дата
Msg-id 20090808212340.GB24450@eddie
обсуждение исходный текст
Ответ на viewing user defined functions  (dearsoandso@gmail.com)
Список pgsql-novice
On Sat, Aug 08, 2009 at 12:34:03PM -0400, dearsoandso@gmail.com wrote:
>    Hi,
>
>    I'm trying to get a look at a user defined function that's being run on a
>    server.  pg_top -E tells me it's encountering a syntax error and I'd like
>    to get a look at the function as it is running on the server.  I have
>    access to the SQL source but there are several version and I don't know
>    which one is running now.
>
>    How do I go about viewing a user defined function on postgres 8.3?
>
>    Any help is appreciated,
>
>    robin

Within psql, you can use the \df+ command to get function source.
Alternatively, look in the pg_proc table and the prosrc column.

--
Joshua Tolley / eggyknap
End Point Corporation
http://www.endpoint.com

Вложения

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

Предыдущее
От: dearsoandso@gmail.com
Дата:
Сообщение: viewing user defined functions
Следующее
От: Andreas Kretschmer
Дата:
Сообщение: Re: viewing user defined functions