Re: pg_restore --no-post-data and --post-data-only - Mailing list pgsql-hackers

From Alvaro Herrera
Subject Re: pg_restore --no-post-data and --post-data-only
Date
Msg-id 1314388924-sup-9817@alvh.no-ip.org
Whole thread Raw
In response to Re: pg_restore --no-post-data and --post-data-only  (Robert Haas <robertmhaas@gmail.com>)
Responses Re: pg_restore --no-post-data and --post-data-only
List pgsql-hackers
Excerpts from Robert Haas's message of vie ago 26 15:36:36 -0300 2011:
> On Fri, Aug 26, 2011 at 1:15 PM, Andrew Dunstan <andrew@dunslane.net> wrote:
> > I don't have anything in principle against your '--sections="foo bar"'
> > suggestion, but it would be more work to program. Simpler, and probably more
> > consistent with how we do other things, would be allowing multiple --section
> > options, if we don't want to have named options such as I have provided.
> 
> I wouldn't object to that, but "more work to program" probably means
> about an extra 10 lines of code in this particular case.

The "--section=data --section=indexes" proposal seems very reasonable to
me -- more so than "--sections='data indexes'".

-- 
Álvaro Herrera <alvherre@commandprompt.com>
The PostgreSQL Company - Command Prompt, Inc.
PostgreSQL Replication, Consulting, Custom Development, 24x7 support


pgsql-hackers by date:

Previous
From: Robert Haas
Date:
Subject: Re: pg_restore --no-post-data and --post-data-only
Next
From: Jim Nasby
Date:
Subject: Re: Inputting relative datetimes