Thread: Patch for allowing multiple -t options for pg_dump

Patch for allowing multiple -t options for pg_dump

From
Andreas Joseph Krogh
Date:
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

This si my first look at the pg-code, so it may not comply with the
coding-standards. I haven't coded in C for a while either, so if someone
finds a better way to implement this, go ahead, but this patch works for me
with 7.4beta3.

http://home.officenet.no/~andreak/pg_dump.c.diff

comments are welcome.

If it's ok, I'll remove my debuging statements and provide a cleaner patch.

- --
Andreas Joseph Krogh <andreak@officenet.no>
Managing Director, Senior Software Developer
OfficeNet AS

- - Writing software is more fun than working.

gpg public_key: http://dev.officenet.no/~andreak/public_key.asc
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.2 (GNU/Linux)

iD8DBQE/et34UopImDh2gfQRAqtBAKCcrJ3mlN5G6Jp3h3kz2G8zMlc2xgCeLmOv
844vwdmhcU4/VLjugW+ISF8=
=/hYF
-----END PGP SIGNATURE-----


Re: Patch for allowing multiple -t options for

From
Bruce Momjian
Date:
This has been saved for the 7.5 release:
http:/momjian.postgresql.org/cgi-bin/pgpatches2

---------------------------------------------------------------------------

Andreas Joseph Krogh wrote:
> -----BEGIN PGP SIGNED MESSAGE-----
> Hash: SHA1
> 
> This si my first look at the pg-code, so it may not comply with the 
> coding-standards. I haven't coded in C for a while either, so if someone 
> finds a better way to implement this, go ahead, but this patch works for me 
> with 7.4beta3.
> 
> http://home.officenet.no/~andreak/pg_dump.c.diff
> 
> comments are welcome.
> 
> If it's ok, I'll remove my debuging statements and provide a cleaner patch.
> 
> - -- 
> Andreas Joseph Krogh <andreak@officenet.no>
> Managing Director, Senior Software Developer
> OfficeNet AS
> 
> - - Writing software is more fun than working.
> 
> gpg public_key: http://dev.officenet.no/~andreak/public_key.asc
> -----BEGIN PGP SIGNATURE-----
> Version: GnuPG v1.2.2 (GNU/Linux)
> 
> iD8DBQE/et34UopImDh2gfQRAqtBAKCcrJ3mlN5G6Jp3h3kz2G8zMlc2xgCeLmOv
> 844vwdmhcU4/VLjugW+ISF8=
> =/hYF
> -----END PGP SIGNATURE-----
> 
> ---------------------------(end of broadcast)---------------------------
> TIP 4: Don't 'kill -9' the postmaster
> 

--  Bruce Momjian                        |  http://candle.pha.pa.us pgman@candle.pha.pa.us               |  (610)
359-1001+  If your life is a hard drive,     |  13 Roberts Road +  Christ can be your backup.        |  Newtown Square,
Pennsylvania19073