Re: [HACKERS] pg_dump patch: Allow -X'exclude table from dump by

2001-09-12 Thread Peter Eisentraut
Giuseppe Tanzilli - CSF writes: > Ciao, > I had the need to exclude tables from the dump so I made this patch, > I do something like > > pg_dump -X \"Test_*\" -X \"Devel*\" test We already have an option -t to select the table name to dump. This could be expanded to interpret the name as a patt

[HACKERS] pg_dump patch: Allow -X'exclude table from dump by pattern'

2001-09-12 Thread Giuseppe Tanzilli - CSF
Ciao, I had the need to exclude tables from the dump so I made this patch, I do something like pg_dump -X \"Test_*\" -X \"Devel*\" test I'm not a C guru, but it work, the only thing I was unable to get rid of is the dump of sequences for that table, so I have to add -X tablename_id_seq If you