Re: [HACKERS] 9.4 pg_restore --help changes

2014-08-11 Thread Alvaro Herrera
Robert Haas wrote: > On Fri, Aug 8, 2014 at 9:44 PM, Peter Eisentraut wrote: > > or perhaps make a note at the bottom > > > > The options -I, -n, -P, -t, -T, --section can be combined and > > specified multiple times to select multiple objects. > > > > Other ideas? > > I like the

Re: [HACKERS] 9.4 pg_restore --help changes

2014-08-11 Thread Robert Haas
On Fri, Aug 8, 2014 at 9:44 PM, Peter Eisentraut wrote: > This is a valuable feature change, but I think the help output is > unhelpful. The left side has a singular placeholder, but the right side > talks about objects in plural. How do I actually specify multiple > indexes? Is is --index=foo,

Re: [HACKERS] 9.4 pg_restore --help changes

2014-08-08 Thread David G Johnston
Peter Eisentraut-2 wrote > 9.3 pg_restore --help output: > > -I, --index=NAME restore named index > -n, --schema=NAMErestore only objects in this schema > -P, --function=NAME(args)restore named function > -t, --table=NAME restore named table(s) > -

Re: [HACKERS] 9.4 pg_restore --help changes

2014-08-08 Thread Michael Paquier
On Sat, Aug 9, 2014 at 10:44 AM, Peter Eisentraut wrote: > -I, --index=NAME restore named indexes (repeat for multiple) A single --index entry restores only one index, so what about something like that: -I, --index=NAME restore named index (repeat for multiple entries) >

[HACKERS] 9.4 pg_restore --help changes

2014-08-08 Thread Peter Eisentraut
9.3 pg_restore --help output: -I, --index=NAME restore named index -n, --schema=NAMErestore only objects in this schema -P, --function=NAME(args)restore named function -t, --table=NAME restore named table(s) -T, --trigger=NAME restore nam