Received: from localhost.localdomain (postgresql.org [64.49.215.8]) by localhost (Postfix) with ESMTP id AE713475D89; Mon, 10 Jun 2002 15:10:45 -0400 (EDT) Received: from candle.pha.pa.us (216-55-132-35.dsl.san-diego.abac.net [216.55.132.35]) by postgresql.org (Postfix) with ESMTP id B5FF7475E80; Mon, 10 Jun 2002 14:34:08 -0400 (EDT) Received: (from pgman@localhost) by candle.pha.pa.us (8.11.6/8.10.1) id g5AIXj600263; Mon, 10 Jun 2002 14:33:45 -0400 (EDT) From: Bruce Momjian Message-Id: <200206101833.g5AIXj600263@candle.pha.pa.us> Subject: Re: [HACKERS] Efficient DELETE Strategies In-Reply-To: <1023730428.4092.64.camel@taru.tm.ee> To: Hannu Krosing Date: Mon, 10 Jun 2002 14:33:45 -0400 (EDT) Cc: Tom Lane , Christoph Haller , pgsql-sql@postgresql.org, pgsql-hackers@postgresql.org X-Mailer: ELM [version 2.4ME+ PL97 (25)] MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Content-Type: text/plain; charset=US-ASCII X-Archive-Number: 200206/116 X-Sequence-Number: 8081 Hannu Krosing wrote: > What about > > DELETE relation_expr FROM relation_expr [ , table_ref [ , ... ] ] > [ WHERE bool_expr ] > > or > > DELETE relation_expr.* FROM relation_expr [ , table_ref [ , ... ] ] > [ WHERE bool_expr ] So make the initial FROM optional and allow the later FROM to be a list of relations? Seems kind of strange. -- Bruce Momjian | http://candle.pha.pa.us pgman@candle.pha.pa.us | (610) 853-3000 + If your life is a hard drive, | 830 Blythe Avenue + Christ can be your backup. | Drexel Hill, Pennsylvania 19026