Re: [HACKERS] Efficient DELETE Strategies

From: Bruce Momjian <pgman(at)candle(dot)pha(dot)pa(dot)us>
To: Hannu Krosing <hannu(at)tm(dot)ee>
Cc: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>, Christoph Haller <ch(at)rodos(dot)fzk(dot)de>, pgsql-sql(at)postgresql(dot)org, pgsql-hackers(at)postgresql(dot)org
Subject: Re: [HACKERS] Efficient DELETE Strategies
Date: 2002-06-10 18:33:45
Message-ID: 200206101833.g5AIXj600263@candle.pha.pa.us
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers pgsql-sql

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(at)candle(dot)pha(dot)pa(dot)us | (610) 853-3000
+ If your life is a hard drive, | 830 Blythe Avenue
+ Christ can be your backup. | Drexel Hill, Pennsylvania 19026

In response to

Responses

Browse pgsql-hackers by date

  From Date Subject
Next Message Marc G. Fournier 2002-06-10 18:46:58 Re: Project scheduling issues (was Re: Per tuple overhead,
Previous Message Josh Berkus 2002-06-10 18:12:08 Re: Timestamp/Interval proposals: Part 2

Browse pgsql-sql by date

  From Date Subject
Next Message terry 2002-06-10 18:49:33 Re: [SQL] VIEWs and FOREIGN keys
Previous Message Hannu Krosing 2002-06-10 17:33:48 Re: [HACKERS] Efficient DELETE Strategies