Re: Dumping functions with pg_dump

Поиск
Список
Период
Сортировка
От Jerry Sievers
Тема Re: Dumping functions with pg_dump
Дата
Msg-id 87ipusz394.fsf@comcast.net
обсуждение исходный текст
Ответ на Dumping functions with pg_dump  (Greg Corradini <gregcorradini@gmail.com>)
Список pgsql-general
Greg Corradini <gregcorradini@gmail.com> writes:

> Hello,
> Is it possible yet in 8.4 to pg_dump specific functions without having to do
> the whole pg_restore thing?
>
> If it is possible, what is the syntax to dump a specific function?
>
> If not possible, then how does one use pg_restore to target a specific
> function?

Just do;

pg_dump --schema-only

Go find the function definition in the output script, snip it out and
load with psql.  Remember to load it into the correct schema and
whatever other details.

HTH

--
Jerry Sievers
e: gsievers19@comcast.net
p: 305.321.1144

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

Предыдущее
От: Greg Corradini
Дата:
Сообщение: Re: Dumping functions with pg_dump
Следующее
От: Adrian Klaver
Дата:
Сообщение: Re: Dumping functions with pg_dump