Re: retrieving a previously defined stored procedure from the database?

Поиск
Список
Период
Сортировка
От Tom Lane
Тема Re: retrieving a previously defined stored procedure from the database?
Дата
Msg-id 10764.1115152999@sss.pgh.pa.us
обсуждение исходный текст
Ответ на retrieving a previously defined stored procedure from the database?  ("Celia McInnis" <celia@drmath.ca>)
Ответы drop if exists  ("Celia McInnis" <celia@drmath.ca>)
Список pgsql-novice
"Celia McInnis" <celia@drmath.ca> writes:
> Is there some way to extract the text of a previously defined stored
> procedure from the database? (I just managed to clobber one of my files which
> contained a couple of my plpgsql functions in it.).

"pg_dump -s" is your best bet.

            regards, tom lane

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

Предыдущее
От: Volkan YAZICI
Дата:
Сообщение: Re: Can't Use DB As Template - accessed by other users error
Следующее
От: "Celia McInnis"
Дата:
Сообщение: drop if exists