Re: pg_restore --no-post-data and --post-data-only

Поиск
Список
Период
Сортировка
От Alvaro Herrera
Тема Re: pg_restore --no-post-data and --post-data-only
Дата
Msg-id 1314388924-sup-9817@alvh.no-ip.org
обсуждение исходный текст
Ответ на Re: pg_restore --no-post-data and --post-data-only  (Robert Haas <robertmhaas@gmail.com>)
Ответы Re: pg_restore --no-post-data and --post-data-only  (Tom Lane <tgl@sss.pgh.pa.us>)
Список 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 по дате отправления:

Предыдущее
От: Robert Haas
Дата:
Сообщение: Re: pg_restore --no-post-data and --post-data-only
Следующее
От: Jim Nasby
Дата:
Сообщение: Re: Inputting relative datetimes