Re: dropdb and dropuser: IF EXISTS - Mailing list pgsql-hackers

From Robert Haas
Subject Re: dropdb and dropuser: IF EXISTS
Date
Msg-id CA+TgmoYhy6PsKFr6w=zjUt=hJJz8Lhbj80K_3hB8DRrsSMKpTw@mail.gmail.com
Whole thread Raw
In response to Re: dropdb and dropuser: IF EXISTS  (Josh Kupershmidt <schmiddy@gmail.com>)
Responses Re: dropdb and dropuser: IF EXISTS
List pgsql-hackers
On Mon, Aug 29, 2011 at 7:34 PM, Josh Kupershmidt <schmiddy@gmail.com> wrote:
> On Fri, Aug 26, 2011 at 10:42 PM, Robert Haas <robertmhaas@gmail.com> wrote:
>> +1 for --if-exists, but -X isn't doing a lot for me, especially since
>> we've used -X for other purposes in other commands.  I'd just skip
>> having a short form for this one.
>
> Fine by me. Updated patch attached.

Committed with some edits.  I stole the documentation language from
the DROP DATABASE and DROP USER pages and just copied it over, instead
of saying the same thing in different words.  And I rearranged the
options handling to be more consistent with what we do elsewhere.

--
Robert Haas
EnterpriseDB: http://www.enterprisedb.com
The Enterprise PostgreSQL Company


pgsql-hackers by date:

Previous
From: Robert Haas
Date:
Subject: Re: Inputting relative datetimes
Next
From: Tom Lane
Date:
Subject: Re: strange row number estimates in pg9.1rc1