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

From: Peter Eisentraut <peter_e(at)gmx(dot)net>
To: Giuseppe Tanzilli - CSF <g(dot)tanzilli(at)gruppocsf(dot)com>
Cc: <pgsql-hackers(at)postgresql(dot)org>
Subject: Re: pg_dump patch: Allow -X'exclude table from dump by
Date: 2001-09-12 18:47:49
Message-ID: Pine.LNX.4.30.0109122046100.694-100000@peter.localdomain
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: 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(at)gmx(dot)net http://funkturm.homeip.net/~peter

In response to

Browse pgsql-hackers by date

  From Date Subject
Next Message Mikheev, Vadim 2001-09-12 19:07:46 Re: Index location patch for review
Previous Message Bruce Momjian 2001-09-12 18:26:26 Re: Index location patch for review