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

Re: drop if exists remainder

From: Andrew Dunstan <andrew(at)dunslane(dot)net>
To: Bruce Momjian <pgman(at)candle(dot)pha(dot)pa(dot)us>
Cc: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>, "Patches (PostgreSQL)" <pgsql-patches(at)postgresql(dot)org>
Subject: Re: drop if exists remainder
Date: 2006-02-05 19:58:19
Message-ID: 43E658DB.7030202@dunslane.net (view raw or flat)
Thread:
Lists: pgsql-hackerspgsql-patches

Bruce Momjian wrote:

>However, I see CREATE ROLE doesn't have REPLACE functionality, so what
>is the logic of when we need IF EXISTS and when we don't?  Perhaps they
>all should have it, and the REPLACE is just for objects you want to
>replace but keep existing linkage in place.
>
>  
>

That was my understanding. I think these are orthogonal issues.

Another issue was MySQL compatibility. AFAIK we achieved that when we 
did database, following
{ table view index sequence schema type domain conversion}, which pretty 
much all had to be done together, as they share the same statement node 
type.

cheers

andrew

In response to

pgsql-hackers by date

Next:From: Stephen FrostDate: 2006-02-05 20:20:12
Subject: Re: Krb5 & multiple DB connections
Previous:From: Peter EisentrautDate: 2006-02-05 19:00:33
Subject: Re: renseignement

pgsql-patches by date

Next:From: Stephen FrostDate: 2006-02-05 20:20:12
Subject: Re: Krb5 & multiple DB connections
Previous:From: Bruce MomjianDate: 2006-02-05 18:29:56
Subject: Re: drop if exists remainder

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