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

Re: Please advise features in 7.1 (SUMMARY)

From: Don Baccus <dhogaza(at)pacifier(dot)com>
To: Thomas Lockhart <lockhart(at)alumni(dot)caltech(dot)edu>, xuyifeng <jamexu(at)telekbird(dot)com(dot)cn>
Cc: John Huttley <John(at)mwk(dot)co(dot)nz>, pgsql-hackers(at)postgresql(dot)org
Subject: Re: Please advise features in 7.1 (SUMMARY)
Date: 2000-11-30 14:55:21
Message-ID: (view raw, whole thread or download thread mbox)
Lists: pgsql-hackers
At 05:24 AM 11/30/00 +0000, Thomas Lockhart wrote:
>> Is "if" clause support in PG?
>> for example:
>> "drop table aa if exist"
>> "insert into aa values(1) if not exists select * from aa where i=1"
>No. afaict it is not in any SQL standard, so is unlikely to get much
>attention from developers.

The insert, at least, can be written in standard SQL anyway...

- Don Baccus, Portland OR <dhogaza(at)pacifier(dot)com>
  Nature photos, on-line guides, Pacific Northwest
  Rare Bird Alert Service and other goodies at

In response to

pgsql-hackers by date

Next:From: Andrew SnowDate: 2000-11-30 15:05:01
Subject: RE: SQL 'in' vs join.
Previous:From: Michael ForkDate: 2000-11-30 13:38:32
Subject: Re:

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