Re: [SQL] PostgreSQL syntax question - Mailing list pgsql-hackers

From Bruce Momjian
Subject Re: [SQL] PostgreSQL syntax question
Date
Msg-id 199809181621.MAA02293@candle.pha.pa.us
Whole thread Raw
In response to Re: [SQL] PostgreSQL syntax question  (Sferacarta Software <sferac@bo.nettuno.it>)
List pgsql-hackers
> SD> The following syntax (which is legal under Oracle) does not parse under
> SD> PostreSQL 6.3.2.
>
> SD>  update table1 set col1=(select col2 from table2 where col3='x') where col4='z';
> This syntax is SQL standard but seems that PostgreSQL doesn't
> support "scalar subqueries" yet.
> I don't see this on TODO things ? What about to add it to TODO file ?

Already there:

    * Allow subqueries in target list
--
Bruce Momjian                          |  830 Blythe Avenue
maillist@candle.pha.pa.us              |  Drexel Hill, Pennsylvania 19026
http://www.op.net/~candle              |  (610) 353-9879(w)
  +  If your life is a hard drive,     |  (610) 853-3000(h)
  +  Christ can be your backup.        |

pgsql-hackers by date:

Previous
From: David Hartwig
Date:
Subject: PL/pgsql
Next
From: Bruce Momjian
Date:
Subject: Re: [HACKERS] PL/pgsql