Re: Allow dumping of roles or tablespaces

Поиск
Список
Период
Сортировка
От Tom Lane
Тема Re: Allow dumping of roles or tablespaces
Дата
Msg-id 6824.1168614349@sss.pgh.pa.us
обсуждение исходный текст
Ответ на Allow dumping of roles or tablespaces  (Dave Page <dpage@postgresql.org>)
Ответы Re: Allow dumping of roles or tablespaces
Re: Allow dumping of roles or tablespaces
Список pgsql-patches
Dave Page <dpage@postgresql.org> writes:
> pg_dumpall -g  -- Dump roles and tablespaces per current behaviour
> pg_dumpall -gr -- Dump roles only (or users and groups)
> pg_dumpall -gt -- Dump tablespaces only

This seems a bit ugly, mainly because (1) it doesn't have a natural
translation to long-form switches, and (2) it screws up the usual
habit of merging multiple single-letter switches into one argument.
Perhaps something like

    --roles-only
    --tablespaces-only
    --globals-only

Not sure if there are free single-letter codes for the first two,
but on the whole I'm more interested in having sane long-form names
than sane short ones ...

            regards, tom lane

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

Предыдущее
От: Dave Page
Дата:
Сообщение: Allow dumping of roles or tablespaces
Следующее
От: Andrew Dunstan
Дата:
Сообщение: Re: Allow dumping of roles or tablespaces