Re: One more option for pg_dump...

Поиск
Список
Период
Сортировка
От Brendan Jurd
Тема Re: One more option for pg_dump...
Дата
Msg-id 37ed240d0802261941g1d46e637nc56a6a0c748ffcff@mail.gmail.com
обсуждение исходный текст
Ответ на Re: One more option for pg_dump...  ("Joshua D. Drake" <jd@commandprompt.com>)
Список pgsql-hackers
On Wed, Feb 27, 2008 at 2:29 PM, Joshua D. Drake <jd@commandprompt.com> wrote:
>  > You could just pull up a psql session and do a "select
>  > pg_func_def(regproc);"  and there you go, one fully formed CREATE
>  > FUNCTION statement.
>
>  \df+ function(type)
>

Sure, if your idea of a good time is looking at the output of \df+,
and then querying pg_proc anyway to find out whether the function is
strict or not, and then writing out a CREATE FUNCTION by hand.  \df+
is great for getting a quick idea of what functions are available and
what they do.  For producing executable SQL to re-create those
functions, it's a mess.


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

Предыдущее
От: "Joshua D. Drake"
Дата:
Сообщение: Re: One more option for pg_dump...
Следующее
От: Tom Lane
Дата:
Сообщение: Re: An idea for parallelizing COPY within one backend