Re: display function code

Поиск
Список
Период
Сортировка
От Tom Lane
Тема Re: display function code
Дата
Msg-id 10184.1128304120@sss.pgh.pa.us
обсуждение исходный текст
Ответ на Re: display function code  (Bruce Momjian <pgman@candle.pha.pa.us>)
Список pgsql-admin
Bruce Momjian <pgman@candle.pha.pa.us> writes:
> Colton A Smith wrote:
>> I wrote a function for my database and 'loaded' it, but then
>> misplaced the code.  Is there a query I can issue to retrieve it?

> psql \df+?  That works for non-C languages.

Also, consider doing "pg_dump -s yourdb" and then pulling the CREATE
FUNCTION entry out of the dump script.

            regards, tom lane

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

Предыдущее
От: Andreas Pflug
Дата:
Сообщение: pgAdmin guru hints
Следующее
От: Tom Lane
Дата:
Сообщение: Re: Vacuum Full Analyze Stalled