Re: pg_dump patch: Allow -X'exclude table from dump by - Mailing list pgsql-hackers

From Peter Eisentraut
Subject Re: pg_dump patch: Allow -X'exclude table from dump by
Date
Msg-id Pine.LNX.4.30.0109122046100.694-100000@peter.localdomain
Whole thread Raw
In response to pg_dump patch: Allow -X'exclude table from dump by pattern'  (Giuseppe Tanzilli - CSF <g.tanzilli@gruppocsf.com>)
List pgsql-hackers
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 pattern of some kind (RE or LIKE
pattern).  If you want to work on that I think no one would object.

-- 
Peter Eisentraut   peter_e@gmx.net   http://funkturm.homeip.net/~peter



pgsql-hackers by date:

Previous
From: "Jim Buttafuoco"
Date:
Subject: Re: Index location patch for review
Next
From: "Jim Buttafuoco"
Date:
Subject: Re: Index location patch for review (more pgbench results)