Re: Please advise features in 7.1 (SUMMARY)

Don Baccus <dhogaza@pacifier.com>

From: Don Baccus <dhogaza@pacifier.com>
To: Thomas Lockhart <lockhart@alumni.caltech.edu>, xuyifeng <jamexu@telekbird.com.cn>
Cc: John Huttley <John@mwk.co.nz>, pgsql-hackers@postgresql.org
Date: 2000-11-30T14:55:21Z
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@pacifier.com>
  Nature photos, on-line guides, Pacific Northwest
  Rare Bird Alert Service and other goodies at
  http://donb.photo.net.