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: 3.0.1.32.20001130065521.0177d180@mail.pacifier.com (view raw or flat)
Thread:
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
  http://donb.photo.net.

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-2014 The PostgreSQL Global Development Group