Re: create language ... if not exists - Mailing list pgsql-patches

From Magnus Hagander
Subject Re: create language ... if not exists
Date
Msg-id 20080329224511.33b743c2@mha-laptop
Whole thread Raw
In response to Re: create language ... if not exists  (Tom Lane <tgl@sss.pgh.pa.us>)
List pgsql-patches
Tom Lane wrote:
> Magnus Hagander <magnus@hagander.net> writes:
> > If we're implementing IF NOT EXISTS across the board, let's do that
> > for languages at the same time as for others.
>
> Yeah, if we were going to do it at all it should be handled
> across-the-board, the way DROP IF EXISTS was.  However, I seem to
> recall that in the discussions leading up to implementing DROP IF
> EXISTS, we considered and specifically rejected CREATE IF NOT
> EXISTS.  Don't have time right now to troll the archives for the
> reasoning.

Right. Which is one of the reasons why I'm suggesting we stick with the
CREATE OR REPLACE for now.

//Magnus

pgsql-patches by date:

Previous
From: Tom Lane
Date:
Subject: Re: create language ... if not exists
Next
From: "Alex Hunsaker"
Date:
Subject: Re: [badalex@gmail.com: Re: [BUGS] Problem identifying constraints which should not be inherited]