Re: DELETE syntax on JOINS - Mailing list pgsql-hackers

From Sam Mason
Subject Re: DELETE syntax on JOINS
Date
Msg-id 20090824175211.GK5407@samason.me.uk
Whole thread Raw
In response to Re: DELETE syntax on JOINS  (Tom Lane <tgl@sss.pgh.pa.us>)
List pgsql-hackers
On Mon, Aug 24, 2009 at 01:41:28PM -0400, Tom Lane wrote:
> The real problem with this is that all the
> good candidates for the reserved word are things people are probably
> already using as aliases, so we'd have a large risk of breaking existing
> queries.  We could avoid that with a sufficiently ugly choice like
> 
> DELETE FROM target t USING DELETE_TARGET LEFT JOIN other_table ot ON ...
> 
> but yech ...
 PRIMARY or TABLE?

Both are pretty grim, but I think they're reserved at the moment.

--  Sam  http://samason.me.uk/


pgsql-hackers by date:

Previous
From: Andrew Dunstan
Date:
Subject: Re: hba load error and silent mode
Next
From: David Fetter
Date:
Subject: Re: Slaying the HYPOTamus