I guess this matches this TODO item:
o Allow selection of individual object(s) of all types, not just tables
Your patch has been added to the PostgreSQL unapplied patches list at:
http://momjian.postgresql.org/cgi-bin/pgpatches
It will be applied as soon as one of the PostgreSQL committers reviews
and approves it.
---------------------------------------------------------------------------
Dany DeBontridder wrote:
> Sorry I forgot the attach :-)
>
> It is not perfect so bear with me, it is my first try.
>
> Regards,
>
> D.
>
> On 3/21/07, Bruce Momjian <bruce@momjian.us> wrote:
> >
> >
> > And the patch is so small, it is invisible (missing). ;-)
> >
> >
> > ---------------------------------------------------------------------------
> >
> > Dany DeBontridder wrote:
> > > Here is a (small) patch to give the ability to pg_dump to export only
> > the
> > > functions (or only one), very useful when you often develop with psql (
> > > postgresql.8.2.3)
> > >
> > > Usage:
> > > pg_dump -Q function_name DATABASE export function_name
> > > pg_dump -Q DATABASE export all the functions
> > >
> > > This patch is distributed under the BSD licence
> > >
> > >
> > > Regards,
> > >
> > >
> > >
> > > D.
> > >
> > >
> > > PS: I hope it is the correct ml, otherwise excuse me, it is the first
> > time I
> > > propose a patch for postgresql
> >
> > --
> > Bruce Momjian <bruce@momjian.us> http://momjian.us
> > EnterpriseDB http://www.enterprisedb.com
> >
> > + If your life is a hard drive, Christ can be your backup. +
> >
[ Attachment, skipping... ]
>
> ---------------------------(end of broadcast)---------------------------
> TIP 3: Have you checked our extensive FAQ?
>
> http://www.postgresql.org/docs/faq
-- Bruce Momjian <bruce@momjian.us> http://momjian.us EnterpriseDB
http://www.enterprisedb.com
+ If your life is a hard drive, Christ can be your backup. +