Re: One more option for pg_dump... - Mailing list pgsql-hackers

From Brendan Jurd
Subject Re: One more option for pg_dump...
Date
Msg-id 37ed240d0802261941g1d46e637nc56a6a0c748ffcff@mail.gmail.com
Whole thread Raw
In response to Re: One more option for pg_dump...  ("Joshua D. Drake" <jd@commandprompt.com>)
List 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 by date:

Previous
From: "Joshua D. Drake"
Date:
Subject: Re: One more option for pg_dump...
Next
From: Tom Lane
Date:
Subject: Re: An idea for parallelizing COPY within one backend