Re: pg_dump feature request: Exclude tables?

From: Bruce Momjian <pgman(at)candle(dot)pha(dot)pa(dot)us>
To: Ron St-Pierre <rstpierre(at)syscor(dot)com>
Cc: pgsql-general <pgsql-general(at)postgresql(dot)org>
Subject: Re: pg_dump feature request: Exclude tables?
Date: 2004-08-18 00:59:13
Message-ID: 200408180059.i7I0xD728914@candle.pha.pa.us
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general

Ron St-Pierre wrote:
> Bruce Momjian wrote:
>
> >Glen Parker wrote:
> >
> >
> >>Since pg_dump will be allowing multiple -t <table> parameters for 8.0, here
> >>is a related feature request.
> >>
> >>
> >
> >Nope, didn't make it into 8.0.
> >
> >
> >
> >>A similar option (allowing multiples also) to EXCLUDE tables, so we can do a
> >>dump of the entire database minus a few tables.
> >>
> >>
> >
> >Yes, we have talked about that.
> >
> >
> >
> This would be a big plus for one of our projects too. Is it on some TODO
> list for a future release?

No, we have:

* Allow pg_dump to use multiple -t and -n switches

This should be done by allowing a '-t schema.table' syntax.

but that doesn't have the exclude option. We had a patch that
implemented an exclude but got confused over how it would interact with
the schema switch and stuff. However, with the new '-t schema.table'
syntax we might be able to get it working.

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

In response to

Browse pgsql-general by date

  From Date Subject
Next Message Glen Parker 2004-08-18 01:17:16 pg_dump feature request: Exclude tables?
Previous Message Ron St-Pierre 2004-08-18 00:39:31 Re: pg_dump feature request: Exclude tables?