The author has received feedback so this has been saved for the next
commit-fest:
http://momjian.postgresql.org/cgi-bin/pgpatches_hold
---
Stephen Frost wrote:
-- Start of PGP signed section.
> * Dany DeBontridder (
* Dany DeBontridder ([EMAIL PROTECTED]) wrote:
> I often need in command line to get the code of function, so I make a
> patch for pg_dump, thanks this patch pg_dump is able to dump only one
> functions or all the functions.
First, a couple of general comments about the patch:
#1: You need to re
This has been saved for the 8.4 release:
http://momjian.postgresql.org/cgi-bin/pgpatches_hold
---
Dany DeBontridder wrote:
> I often need in command line to get the code of function, so I make a patch
> for pg_dump
I often need in command line to get the code of function, so I make a patch
for pg_dump, thanks this patch pg_dump is able to dump only one functions or
all the functions.
The argument is --object or -B
Example:
./pg_dump -Bfunction:test_it -Bfunction:dblink_open
To dump the functions test_it,
Patch withdrawn by author, perhaps reworked in the future.
---
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
On 3/21/07, Tom Lane <[EMAIL PROTECTED]> wrote:
Bruce Momjian <[EMAIL PROTECTED]> writes:
> I guess this matches this TODO item:
> o Allow selection of individual object(s) of all types, not just
> tables
(...)
Code-wise, the patch seems a bit of a mess too --- it will certainl
Tom Lane wrote:
Bruce Momjian <[EMAIL PROTECTED]> writes:
I guess this matches this TODO item:
o Allow selection of individual object(s) of all types, not just
tables
Well, it's a subset of it, but do we want to accept a patch that's been
designed with only a subset i
Bruce Momjian <[EMAIL PROTECTED]> writes:
> I guess this matches this TODO item:
> o Allow selection of individual object(s) of all types, not just
> tables
Well, it's a subset of it, but do we want to accept a patch that's been
designed with only a subset in mind? I'd like to s
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
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 <[EMAIL PROTECTED]> wrote:
And the patch is so small, it is invisible (missing). ;-)
---
Dan
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 develo
"Dany DeBontridder" <[EMAIL PROTECTED]> writes:
> Usage:
> pg_dump -Q function_name DATABASE export function_name
> pg_dump -QDATABASE export all the functions
What of overloading? And your switch syntax seems ambiguous anyway.
btw, I see no patch here...
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 -QDATABASE export all the functions
13 matches
Mail list logo