Re: pg_restore options issues - Mailing list pgsql-hackers

From Peter Eisentraut
Subject Re: pg_restore options issues
Date
Msg-id Pine.LNX.4.30.0101071700100.1150-100000@peter.localdomain
Whole thread Raw
In response to Re: pg_restore options issues  ("Oliver Elphick" <olly@lfix.co.uk>)
List pgsql-hackers
Oliver Elphick writes:

> I don't like that; it will need to be escaped with \ or the shell will
> substitute the contents of the current directory for the *.
>
> Why not use `-t all'

Because there might be a table called "all".  (Okay, there could be a
table called "*", but really...)

> or `-A'?

We'd need an option letter for tables, triggers, indexes, functions, etc.

> You should also change the help text a bit:
>
>   -t [table], --table[=table]      dump for this table only
>
> gives no hint that omitting `=table' will restore all tables.

Okay, when we decide how to handle it.

-- 
Peter Eisentraut      peter_e@gmx.net       http://yi.org/peter-e/



pgsql-hackers by date:

Previous
From: "Oliver Elphick"
Date:
Subject: Re: pg_restore options issues
Next
From: Peter Eisentraut
Date:
Subject: Re: A post-7.1 wish-list.