Received: from candle.pha.pa.us (root@s5-03.ppp.op.net [209.152.195.67]) by hub.org (8.8.8/8.8.8) with ESMTP id MAA16872 for ; Fri, 18 Sep 1998 12:32:19 -0400 (EDT) (envelope-from maillist@candle.pha.pa.us) Received: (from maillist@localhost) by candle.pha.pa.us (8.9.0/8.9.0) id MAA02293; Fri, 18 Sep 1998 12:21:38 -0400 (EDT) From: Bruce Momjian Message-Id: <199809181621.MAA02293@candle.pha.pa.us> Subject: Re: [SQL] PostgreSQL syntax question In-Reply-To: <1634.980918@bo.nettuno.it> from Sferacarta Software at "Sep 18, 1998 3:13:37 pm" To: sferac@bo.nettuno.it Date: Fri, 18 Sep 1998 12:21:38 -0400 (EDT) Cc: pgsql-sql@hub.org, scldad@sdc.com.au, pgsql-hackers@postgreSQL.org X-Mailer: ELM [version 2.4ME+ PL43 (25)] MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit > 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. |