Re: pg_restore --no-post-data and --post-data-only
Alvaro Herrera <alvherre@commandprompt.com>
From: Alvaro Herrera <alvherre@commandprompt.com>
To: Robert Haas <robertmhaas@gmail.com>
Cc: Andrew Dunstan <andrew@dunslane.net>, Jim Nasby <jim@nasby.net>, Josh Berkus <josh@agliodbs.com>, pgsql-hackers <pgsql-hackers@postgresql.org>
Date: 2011-08-26T20:03:41Z
Lists: 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