Re: One less footgun: deprecating pg_dump -d

Поиск
Список
Период
Сортировка
От Selena Deckelmann
Тема Re: One less footgun: deprecating pg_dump -d
Дата
Msg-id 49B56076.6040909@endpoint.com
обсуждение исходный текст
Ответ на Re: One less footgun: deprecating pg_dump -d  (Tom Lane <tgl@sss.pgh.pa.us>)
Ответы Re: One less footgun: deprecating pg_dump -d
Список pgsql-hackers
Tom Lane wrote:
> Greg Sabino Mullane<greg@endpoint.com>  writes:
>> The solution I came up with is to use a new letter, -I, and to deprecate -d by
>> having it throw an exception when used.
>
> "Deprecate" does not mean "break".

This '-d' thing is more than just a matter of reading the documentation. 
Our other command line utilities lead a person to assume (logically) 
that '-d' means something completely apart from what it actually does.

I've made this mistake, so have most other sysadmins I know.

While this change may break existing scripts, the result is that future 
users of Postgres will have a much less painful experience if they 
accidentally try to use that option.

-selena


-- 
Selena Deckelmann
End Point Corporation
selena@endpoint.com


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

Предыдущее
От: Robert Haas
Дата:
Сообщение: Re: Updates of SE-PostgreSQL 8.4devel patches (r1704)
Следующее
От: Magnus Hagander
Дата:
Сообщение: Re: One less footgun: deprecating pg_dump -d