Re: Where are PL/pgSQL functions stored?

Поиск
Список
Период
Сортировка
От Alvaro Herrera
Тема Re: Where are PL/pgSQL functions stored?
Дата
Msg-id 20030917200334.GD4233@dcc.uchile.cl
обсуждение исходный текст
Ответ на Where are PL/pgSQL functions stored?  (david_shadovitz@xontech.com (David Shadovitz))
Список pgsql-general
On Wed, Sep 17, 2003 at 10:32:57AM -0700, David Shadovitz wrote:
> Where are PL/pgSQL functions stored?  I want to retrieve the text of a
> function that I've created.

In psql, try
\df+ your-function-name

Function bodies are in the pg_proc table, but the above trick should be
enough.

--
Alvaro Herrera (<alvherre[a]dcc.uchile.cl>)
"Hay que recordar que la existencia en el cosmos, y particularmente la
elaboración de civilizaciones dentre de él no son, por desgracia,
nada idílicas" (Ijon Tichy)

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

Предыдущее
От: Dmitry Tkach
Дата:
Сообщение: Re: Weird query plan
Следующее
От: Tom Lane
Дата:
Сообщение: Re: Weird query plan