Re: DELETE syntax on JOINS

Поиск
Список
Период
Сортировка
От Sam Mason
Тема Re: DELETE syntax on JOINS
Дата
Msg-id 20090824175211.GK5407@samason.me.uk
обсуждение исходный текст
Ответ на Re: DELETE syntax on JOINS  (Tom Lane <tgl@sss.pgh.pa.us>)
Список 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 по дате отправления:

Предыдущее
От: Andrew Dunstan
Дата:
Сообщение: Re: hba load error and silent mode
Следующее
От: David Fetter
Дата:
Сообщение: Re: Slaying the HYPOTamus