Re: dropdb and dropuser: IF EXISTS

From: Robert Haas <robertmhaas(at)gmail(dot)com>
To: Josh Kupershmidt <schmiddy(at)gmail(dot)com>
Cc: pgsql-hackers <pgsql-hackers(at)postgresql(dot)org>
Subject: Re: dropdb and dropuser: IF EXISTS
Date: 2011-08-30 16:14:14
Message-ID: CA+TgmoYhy6PsKFr6w=zjUt=hJJz8Lhbj80K_3hB8DRrsSMKpTw@mail.gmail.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

On Mon, Aug 29, 2011 at 7:34 PM, Josh Kupershmidt <schmiddy(at)gmail(dot)com> wrote:
> On Fri, Aug 26, 2011 at 10:42 PM, Robert Haas <robertmhaas(at)gmail(dot)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

In response to

Responses

Browse pgsql-hackers by date

  From Date Subject
Next Message Tom Lane 2011-08-30 16:15:26 Re: strange row number estimates in pg9.1rc1
Previous Message Robert Haas 2011-08-30 16:12:05 Re: Inputting relative datetimes