Re: Add Missing From?

Поиск
Список
Период
Сортировка
От Tom Lane
Тема Re: Add Missing From?
Дата
Msg-id 16580.1092071243@sss.pgh.pa.us
обсуждение исходный текст
Ответ на Add Missing From?  (Josh Berkus <josh@agliodbs.com>)
Ответы Re: Add Missing From?  (Bruce Momjian <pgman@candle.pha.pa.us>)
Список pgsql-hackers
Jan Wieck <JanWieck@Yahoo.com> writes:
> What about
> DELETE FROM staff JOIN users ...
> then?

I don't much care for that, mainly because in my mind "x JOIN y" should
always be semantically equivalent to "y JOIN x".  I think we want a real
clear syntactical separation between the deletion target table and the
other tables.

Also we do have the precedent of the way that UPDATE does things.  We
don't want to use the keyword FROM because of confusion, but I think
we want to keep it basically the same as UPDATE.
        regards, tom lane


В списке pgsql-hackers по дате отправления:

Предыдущее
От: Jan Wieck
Дата:
Сообщение: Re: Ready for Beta ... ?
Следующее
От: Josh Berkus
Дата:
Сообщение: Beta Leader?