[prev in list] [next in list] [prev in thread] [next in thread]
List: postgresql-general
Subject: Re: [GENERAL] pg_dump feature request: Exclude tables?
From: "Glen Parker" <glenebob () nwlink ! com>
Date: 2004-08-18 19:11:03
Message-ID: AJEKKAIECKNMBCEKADJPOEOPCMAA.glenebob () nwlink ! com
[Download RAW message or body]
> >Hmm, while you're at it, maybe you could make it accept wild
> >cards or regexp or something :-) That should allow you to toss
> >the -n parameter altogether (schema.*) if you wanted to.
> >
> >It would also be at least as good, IMO, to accept only one -t
> >option, re-defined as a comma-seperated list of names... And an
> >exlusion parameter defined the same way.
> >
> How would this interact with the shell? It seems like a supportability
> issue if we have to require single quotes around such arguments.
I think wild cards would be extremely useful, but you're right, it can't be
required for common cases. Maybe "-t schema." could be shorthand for "-t
schema.*".
As far as the comma-seperated-list notion, I could take it or leave it. But
it absolutely does not require quoting unless you add superfluous
whitespace. That's just common, basic shell usage.
Glen Parker
glenebob@nwlink.com
---------------------------(end of broadcast)---------------------------
TIP 6: Have you searched our list archives?
http://archives.postgresql.org
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic