Re: Re: [COMMITTERS] pgsql: Strengthen warnings about using pg_dump's -i option.

Поиск
Список
Период
Сортировка
От Tom Lane
Тема Re: Re: [COMMITTERS] pgsql: Strengthen warnings about using pg_dump's -i option.
Дата
Msg-id 29520.1206551791@sss.pgh.pa.us
обсуждение исходный текст
Ответ на Re: [COMMITTERS] pgsql: Strengthen warnings about using pg_dump's -i option.  (Bruce Momjian <bruce@momjian.us>)
Ответы Re: Re: [COMMITTERS] pgsql: Strengthen warnings about using pg_dump's -i option.  (Bruce Momjian <bruce@momjian.us>)
Список pgsql-hackers
Bruce Momjian <bruce@momjian.us> writes:
> Tom Lane wrote:
>> momjian@postgresql.org (Bruce Momjian) writes:
>>> Strengthen warnings about using pg_dump's -i option.
>> 
>> The proposed TODO item was not about doing this, it was about removing
>> the option altogether.  AFAICS it's a foot-gun and nothing else --- why
>> do we have it?

> I thought the simple fix was to just have a better warning and see how
> that works in practice.  There was some concern from people about
> removing it without more feedback/warning.  I am happy to remove it.

My proposal would be to continue to accept the option but just ignore it
(ie, error out on version mismatch whether or not -i is given).  This
way we wouldn't break any scripts that use the option, but things would
still be safe.
        regards, tom lane


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

Предыдущее
От: David Fetter
Дата:
Сообщение: Re: Surfacing qualifiers
Следующее
От: Kenneth Marshall
Дата:
Сообщение: Re: [GSoC] Need for advice on improving hash index performance