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

Поиск
Список
Период
Сортировка
От Andrew Dunstan
Тема Re: pg_restore --no-post-data and --post-data-only
Дата
Msg-id 4EBF23C2.2010105@dunslane.net
обсуждение исходный текст
Ответ на Re: pg_restore --no-post-data and --post-data-only  (Tom Lane <tgl@sss.pgh.pa.us>)
Ответы Re: pg_restore --no-post-data and --post-data-only  (Matteo Beccati <php@beccati.com>)
Re: pg_restore --no-post-data and --post-data-only  ("Andrew Dunstan" <andrew@dunslane.net>)
Список pgsql-hackers

On 08/26/2011 05:11 PM, Tom Lane wrote:
> Alvaro Herrera<alvherre@commandprompt.com>  writes:
>> The "--section=data --section=indexes" proposal seems very reasonable to
>> me -- more so than "--sections='data indexes'".
> +1 ... not only easier to code and less squishily defined, but more like
> the existing precedent for other pg_dump switches, such as --table.
>
>


Here is a patch for that for pg_dump. The sections provided for are
pre-data, data and post-data, as discussed elsewhere. I still feel that
anything finer grained should be handled via pg_restore's --use-list
functionality. I'll provide a patch to do the same switch for pg_restore
shortly.

Adding to the commitfest.

cheers

andrew





Вложения

В списке pgsql-hackers по дате отправления:

Предыдущее
От: Robert Haas
Дата:
Сообщение: Re: why do we need two snapshots per query?
Следующее
От: Simon Riggs
Дата:
Сообщение: Re: why do we need two snapshots per query?