Re: One less footgun: deprecating pg_dump -d

Поиск
Список
Период
Сортировка
От Joshua D. Drake
Тема Re: One less footgun: deprecating pg_dump -d
Дата
Msg-id 1236619613.4649.26.camel@jd-laptop.pragmaticzealot.org
обсуждение исходный текст
Ответ на 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
On Mon, 2009-03-09 at 12:48 -0400, 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".

Sorry Tom. Greg is correct here although I disagree with his wording. It
should be removed and if someone passes -d it should throw an ERROR that
says something like:

ERROR: -d has been replaced by -I

Greg and I are both in the field and the field consistently uses -d in
the wrong way.

Joshua D. Drake


> 
>             regards, tom lane
> 
-- 
PostgreSQL - XMPP: jdrake@jabber.postgresql.org  Consulting, Development, Support, Training  503-667-4564 -
http://www.commandprompt.com/ The PostgreSQL Company, serving since 1997
 



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

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