Re: alter enum add value if not exists - Mailing list pgsql-hackers

From Andrew Dunstan
Subject Re: alter enum add value if not exists
Date
Msg-id 505E325F.70907@dunslane.net
Whole thread Raw
In response to Re: alter enum add value if not exists  (Tom Lane <tgl@sss.pgh.pa.us>)
Responses Re: alter enum add value if not exists  (Hannu Krosing <hannu@2ndQuadrant.com>)
Re: alter enum add value if not exists  (Tom Lane <tgl@sss.pgh.pa.us>)
List pgsql-hackers
On 09/22/2012 05:39 PM, Tom Lane wrote:
> Andrew Dunstan <andrew@dunslane.net> writes:
>> The enum piece is now committed.
> BTW, looking at that a second time ... the other CREATE IF NOT EXISTS
> options we have issue a NOTICE when skipping the CREATE action.  Is
> there a reason this shouldn't do the same?
>
>             

Not really, I guess we should for the sake of consistency, although TBH 
I find it just useless noise and rather wish we hadn't started the trend 
when we did the first DROP IF NOT EXISTS stuff.

I'll add it.

cheers

andrew





pgsql-hackers by date:

Previous
From: Tom Lane
Date:
Subject: Re: alter enum add value if not exists
Next
From: Hannu Krosing
Date:
Subject: Re: alter enum add value if not exists