Re: DELETE syntax on JOINS

Поиск
Список
Период
Сортировка
Искать
От
Jean-Michel Pouré
Тема
Re: DELETE syntax on JOINS
Дата
Msg-id
1251182999.5096.8.camel@acer
Ответ на
Список
Дерево обсуждения
DELETE syntax on JOINS Jean-Michel Pouré <jm@poure.com>
Re: DELETE syntax on JOINS Bruce Momjian <bruce@momjian.us>
Re: DELETE syntax on JOINS Alvaro Herrera <alvherre@commandprompt.com>
Re: DELETE syntax on JOINS Bruce Momjian <bruce@momjian.us>
Re: DELETE syntax on JOINS Bill Moran <wmoran@potentialtech.com>
Re: DELETE syntax on JOINS Jean-Michel Pouré <jm@poure.com>
Re: DELETE syntax on JOINS Alvaro Herrera <alvherre@commandprompt.com>
Re: DELETE syntax on JOINS Tom Lane <tgl@sss.pgh.pa.us>
Re: DELETE syntax on JOINS Bruce Momjian <bruce@momjian.us>
Re: DELETE syntax on JOINS Josh Berkus <josh@agliodbs.com>
Re: DELETE syntax on JOINS Bruce Momjian <bruce@momjian.us>
Re: DELETE syntax on JOINS Robert Haas <robertmhaas@gmail.com>
Re: DELETE syntax on JOINS Tom Lane <tgl@sss.pgh.pa.us>
Re: DELETE syntax on JOINS Greg Stark <gsstark@mit.edu>
Re: DELETE syntax on JOINS Tom Lane <tgl@sss.pgh.pa.us>
Re: DELETE syntax on JOINS Andrew Dunstan <andrew@dunslane.net>
Re: DELETE syntax on JOINS Tom Lane <tgl@sss.pgh.pa.us>
Re: DELETE syntax on JOINS Robert Haas <robertmhaas@gmail.com>
Re: DELETE syntax on JOINS Tom Lane <tgl@sss.pgh.pa.us>
Re: DELETE syntax on JOINS Sam Mason <sam@samason.me.uk>
Re: DELETE syntax on JOINS Bruce Momjian <bruce@momjian.us>
> With proper foreign keys and ON DELETE CASCADE, why would supporting
> such syntax even be necessary?

Porting existing abstraction layers from ANSI JOINs to ON DELETE CASCADE
is complicated.

> What I don't get is why this is such a usability issue.  Subqueries in
> DELETE FROM work perfectly well, and provide more flexibility than
> most
> users know what to do with.

The ANSI syntax allows deleting one or several tables at once.
Subqueries are not supported by MySQL on DELETE.

Again, this is a usability issue to gain market shares and happy users
againts MySQL.

Kind regards,
Jean-Michel
В списке pgsql-hackers по дате отправления
От: Tom Lane
Дата:
Сообщение: Re: Bug in visibility hint bit
От: Markus Wanner
Дата:
Сообщение: setting up scan keys
FAQ