Re: [HACKERS] pg_restore options issues

2001-01-07 Thread Peter Eisentraut
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'

Re: [HACKERS] pg_restore options issues

2001-01-07 Thread Oliver Elphick
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

Re: [HACKERS] pg_restore options issues

2001-01-06 Thread Philip Warner
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

[HACKERS] pg_restore options issues

2001-01-06 Thread Peter Eisentraut
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