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'
Peter Eisentraut wrote:
>pg_restore has some options that are supposed to allow restoring some or
>all indexes/tables/triggers/etc. For example
>
>pg_restore --table
>
>restores all tables and
>
>pg_restore --table=my_table
>
>restores only the named table. The equivalent sho
At 22:05 6/01/01 +0100, Peter Eisentraut wrote:
>
>restores only the named table. The equivalent short option is -t but it
>does not allow restoring all tables, since it requires an argument. I
>suggest that an argument of '*' also means to restore all tables.
Sounds fine.
>Also, if you just
pg_restore has some options that are supposed to allow restoring some or
all indexes/tables/triggers/etc. For example
pg_restore --table
restores all tables and
pg_restore --table=my_table
restores only the named table. The equivalent short option is -t but it
does not allow restoring all ta