Re: One less footgun: deprecating pg_dump -d

From: David Fetter <david(at)fetter(dot)org>
To: Magnus Hagander <magnus(at)hagander(dot)net>
Cc: Andrew Dunstan <andrew(at)dunslane(dot)net>, Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>, Kevin Grittner <Kevin(dot)Grittner(at)wicourts(dot)gov>, jd(at)commandprompt(dot)com, Greg Sabino Mullane <greg(at)endpoint(dot)com>, pgsql-hackers(at)postgresql(dot)org
Subject: Re: One less footgun: deprecating pg_dump -d
Date: 2009-03-10 07:56:51
Message-ID: 20090310075651.GB4804@fetter.org
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

On Mon, Mar 09, 2009 at 09:02:01PM +0100, Magnus Hagander wrote:
> Andrew Dunstan wrote:
> > Tom Lane wrote:
> >> "Kevin Grittner" <Kevin(dot)Grittner(at)wicourts(dot)gov> writes:
> >>
> >>> Magnus Hagander <magnus(at)hagander(dot)net> wrote:
> >>>> but maybe it's better to use -i and -I, and thus change them both?
> >>
> >>> That's already used:
> >>
> >>> -i, --ignore-version proceed even when server version mismatches
> >>> pg_dump version
> >>
> >> Proposal: drop the short forms of these two switches entirely.
> >> Anybody who actually needs the capability can write "--inserts".
> >
> > +1. I was just thinking the same thing.
>
> +1, that sounds like a very good idea.

FWIW, +1 from me for removing the -i and -d options, leaving only long
versions of what they used to do.

Cheers,
David.
--
David Fetter <david(at)fetter(dot)org> http://fetter.org/
Phone: +1 415 235 3778 AIM: dfetter666 Yahoo!: dfetter
Skype: davidfetter XMPP: david(dot)fetter(at)gmail(dot)com

Remember to vote!
Consider donating to Postgres: http://www.postgresql.org/about/donate

In response to

Browse pgsql-hackers by date

  From Date Subject
Next Message Simon Riggs 2009-03-10 08:10:45 Re: Prepping to break every past release...
Previous Message KaiGai Kohei 2009-03-10 05:19:57 Re: Updates of SE-PostgreSQL 8.4devel patches (r1704)