Skip site navigation (1) Skip section navigation (2)

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 (view raw or flat)
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

pgsql-hackers by date

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

Privacy Policy | About PostgreSQL
Copyright © 1996-2014 The PostgreSQL Global Development Group