Looks like someone else also just submitted the same patch, except with
a -T option to exclude tables. I will consider that version instead.
---------------------------------------------------------------------------
Andreas Joseph Krogh wrote:
[ PGP not available, raw data follows ]
> -----BEGIN PGP SIGNED MESSAGE-----
> Hash: SHA1
>
> Hi, I've prepared a patch(against CVS HEAD of today) to pg_dump.c to
> make pg_dump understand multiple -t options for dumping multiple tables
> in one command.
> Eks:
> pg_dump -t table1 -t table2 -t table3 <dbname>
>
> The patch is here:
> http://home.officenet.no/~andreak/pg_dump.patch
>
> Any comments, flames?
>
> Is it too late for it to make it into 7.5? I submitted a patch against
> 7.4 a while ago, but was then told it had to wait until 7.5, and, well,
> now it's 7.5-time:-)
>
> - --
> Andreas Joseph Krogh <andreak@officenet.no>
> Senior Software Developer / Manager
> gpg public_key: http://dev.officenet.no/~andreak/public_key.asc
> - ------------------------+---------------------------------------------+
> OfficeNet AS | - a tool should do one job, and do it well. |
> Hoffsveien 17 | |
> PO. Box 425 Sk�yen | |
> 0213 Oslo | |
> NORWAY | |
> Phone : +47 22 13 01 00 | |
> Direct: +47 22 13 10 03 | |
> Mobile: +47 909 56 963 | |
> - ------------------------+---------------------------------------------+
> -----BEGIN PGP SIGNATURE-----
> Version: GnuPG v1.2.2 (GNU/Linux)
> Comment: Using GnuPG with Thunderbird - http://enigmail.mozdev.org
>
> iD8DBQFA7ok9UopImDh2gfQRAmZRAKCUC1H0+7IA3xt9fa385VO9lX4g6wCdEkcO
> 2htbeud7zilIw6uMYUD35qM=
> =C7Cc
> -----END PGP SIGNATURE-----
>
> ---------------------------(end of broadcast)---------------------------
> TIP 1: subscribe and unsubscribe commands go to majordomo@postgresql.org
>
[ End of raw data]
-- 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