Re: DELETE syntax on JOINS
От
Andrew Dunstan
Тема
Re: DELETE syntax on JOINS
Дата
Msg-id
4A93EDD2.9050201@dunslane.net
Ответ на
Re: DELETE syntax on JOINS (Tom Lane)
Список
Дерево обсуждения
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>
Tom Lane wrote: > Robert Haas writes: > >> On Mon, Aug 24, 2009 at 9:31 PM, Josh Berkus wrote: >> >>> 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. >>> > > >> It's both a usability issue and a performance issue. >> > > On the usability front: if we were to take the position Josh advocates, > we should never have added FROM/USING to UPDATE/DELETE at all FWIW, I use update ... from a lot - it make many update queries easier and less error prone to write - but I rarely find I need delete ... using. > ... but > since we did, I think we should try to make it as flexible as the > corresponding feature in other DBMSes. > > > +1 cheers andrew
В списке pgsql-hackers по дате отправления