Re: One less footgun: deprecating pg_dump -d - Mailing list pgsql-hackers

From Joshua D. Drake
Subject Re: One less footgun: deprecating pg_dump -d
Date
Msg-id 1236619613.4649.26.camel@jd-laptop.pragmaticzealot.org
Whole thread Raw
In response to Re: One less footgun: deprecating pg_dump -d  (Tom Lane <tgl@sss.pgh.pa.us>)
Responses Re: One less footgun: deprecating pg_dump -d  (Tom Lane <tgl@sss.pgh.pa.us>)
List 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 by date:

Previous
From: Tom Lane
Date:
Subject: Re: Updates of SE-PostgreSQL 8.4devel patches (r1704)
Next
From: Tom Lane
Date:
Subject: Re: One less footgun: deprecating pg_dump -d