Re: Deprecating RULES

Поиск
Список
Период
Сортировка
Искать
От
Josh Berkus
Тема
Re: Deprecating RULES
Дата
Msg-id
5081C03C.40102@agliodbs.com
Ответ на
Re: Deprecating RULES (Robert Haas)
Список
Дерево обсуждения
Deprecating RULES Simon Riggs <simon@2ndQuadrant.com>
Re: Deprecating RULES Alvaro Herrera <alvherre@2ndquadrant.com>
Re: Deprecating RULES Tom Lane <tgl@sss.pgh.pa.us>
Re: Deprecating RULES Josh Berkus <josh@agliodbs.com>
Re: Deprecating RULES Darren Duncan <darren@darrenduncan.net>
Re: Deprecating RULES Simon Riggs <simon@2ndQuadrant.com>
Re: Deprecating RULES Josh Berkus <josh@agliodbs.com>
Re: Deprecating RULES "Joshua D. Drake" <jd@commandprompt.com>
Re: Deprecating RULES Daniel Farina <daniel@heroku.com>
Re: Deprecating RULES Bruce Momjian <bruce@momjian.us>
Re: Deprecating RULES Andrew Dunstan <andrew@dunslane.net>
Re: Deprecating RULES "David Johnston" <polobo@yahoo.com>
Re: Deprecating RULES Hannu Krosing <hannu@krosing.net>
Re: Deprecating RULES Robert Haas <robertmhaas@gmail.com>
Re: Deprecating RULES Peter Geoghegan <peter@2ndquadrant.com>
Re: Deprecating RULES Robert Haas <robertmhaas@gmail.com>
Re: Deprecating RULES Simon Riggs <simon@2ndQuadrant.com>
Re: Deprecating RULES Hannu Krosing <hannu@2ndQuadrant.com>
Re: Deprecating RULES Simon Riggs <simon@2ndQuadrant.com>
Re: Deprecating RULES Josh Berkus <josh@agliodbs.com>
Re: Deprecating RULES Hannu Krosing <hannu@krosing.net>
Re: Deprecating RULES Darren Duncan <darren@darrenduncan.net>
Re: Deprecating RULES Tom Lane <tgl@sss.pgh.pa.us>
Re: Deprecating RULES Darren Duncan <darren@darrenduncan.net>
Re: Deprecating RULES Tom Lane <tgl@sss.pgh.pa.us>
Re: Deprecating RULES Josh Berkus <josh@agliodbs.com>
Re: Deprecating RULES Simon Riggs <simon@2ndQuadrant.com>
Re: Deprecating RULES Joshua Berkus <josh@agliodbs.com>
Re: Deprecating RULES Simon Riggs <simon@2ndQuadrant.com>
Re: Deprecating RULES Stephen Frost <sfrost@snowman.net>
Re: Deprecating RULES Michael Nolan <htfoot@gmail.com>
Re: Deprecating RULES Daniel Farina <daniel@heroku.com>
Re: Deprecating RULES Daniel Farina <daniel@heroku.com>
Re: Deprecating RULES Simon Riggs <simon@2ndQuadrant.com>
Re: Deprecating RULES "Greg Sabino Mullane" <greg@turnstep.com>
Re: Deprecating RULES Christopher Browne <cbbrowne@gmail.com>
Re: Deprecating RULES Dimitri Fontaine <dimitri@2ndQuadrant.fr>
Re: Deprecating RULES Peter Geoghegan <peter@2ndquadrant.com>
Re: Deprecating RULES Andres Freund <andres@2ndquadrant.com>
Re: Deprecating RULES Simon Riggs <simon@2ndQuadrant.com>
Re: Deprecating RULES Daniel Farina <daniel@heroku.com>
Re: Deprecating RULES Simon Riggs <simon@2ndQuadrant.com>
Re: Deprecating RULES "Joshua D. Drake" <jd@commandprompt.com>
Re: Deprecating RULES Andrew Dunstan <andrew@dunslane.net>
Re: Deprecating RULES Daniel Farina <daniel@heroku.com>
Re: Deprecating RULES Andrew Dunstan <andrew@dunslane.net>
Re: Deprecating RULES Daniel Farina <daniel@heroku.com>
Re: Deprecating RULES Josh Berkus <josh@agliodbs.com>
Re: Deprecating RULES Daniel Farina <daniel@heroku.com>
Re: Deprecating RULES Neil Tiffin <neilt@neiltiffin.com>
Re: Deprecating RULES Josh Berkus <josh@agliodbs.com>
Re: Deprecating RULES Tom Lane <tgl@sss.pgh.pa.us>
Re: Deprecating RULES Andrew Dunstan <andrew@dunslane.net>
Re: Deprecating RULES Daniel Farina <daniel@heroku.com>
Re: Deprecating RULES Andrew Dunstan <andrew@dunslane.net>
Re: Deprecating RULES Daniel Farina <daniel@heroku.com>
Re: Deprecating RULES Josh Berkus <josh@agliodbs.com>
Re: Deprecating RULES Andrew Dunstan <andrew@dunslane.net>
Re: Deprecating RULES Robert Haas <robertmhaas@gmail.com>
Re: Deprecating RULES Josh Berkus <josh@agliodbs.com>
Re: Deprecating RULES Robert Haas <robertmhaas@gmail.com>
Re: Deprecating RULES Tom Lane <tgl@sss.pgh.pa.us>
Re: Deprecating RULES Robert Haas <robertmhaas@gmail.com>
Re: Deprecating RULES Peter Geoghegan <peter@2ndquadrant.com>
Re: Deprecating RULES Merlin Moncure <mmoncure@gmail.com>
Re: Deprecating RULES "David Johnston" <polobo@yahoo.com>
Re: Deprecating RULES Daniel Farina <daniel@heroku.com>
Re: Deprecating RULES Steve Crawford <scrawford@pinpointresearch.com>
Re: Deprecating RULES Robert Haas <robertmhaas@gmail.com>
Re: Deprecating RULES Любен Каравелов <karavelov@mail.bg>
Re: Deprecating RULES Simon Riggs <simon@2ndQuadrant.com>
Re: Deprecating RULES Daniel Farina <daniel@heroku.com>
Re: Deprecating RULES Christopher Browne <cbbrowne@gmail.com>
Re: Deprecating RULES Josh Berkus <josh@agliodbs.com>
Re: Deprecating RULES Peter Geoghegan <peter@2ndquadrant.com>
Re: Deprecating RULES Simon Riggs <simon@2ndQuadrant.com>
Re: Deprecating RULES Josh Berkus <josh@agliodbs.com>
Re: Deprecating RULES Greg Stark <stark@mit.edu>
Re: Deprecating RULES Tom Lane <tgl@sss.pgh.pa.us>
Re: Deprecating RULES Josh Berkus <josh@agliodbs.com>
Re: Deprecating RULES "Joshua D. Drake" <jd@commandprompt.com>
Re: Deprecating RULES Josh Berkus <josh@agliodbs.com>
Re: Deprecating RULES "Joshua D. Drake" <jd@commandprompt.com>
Re: Deprecating RULES John R Pierce <pierce@hogranch.com>
Re: Deprecating RULES Simon Riggs <simon@2ndQuadrant.com>
Re: Deprecating RULES Peter Geoghegan <peter@2ndquadrant.com>
Re: Deprecating RULES Greg Stark <stark@mit.edu>
Re: Deprecating RULES Hannu Krosing <hannu@2ndQuadrant.com>
Re: Deprecating RULES Simon Riggs <simon@2ndquadrant.com>
Re: Deprecating RULES Tom Lane <tgl@sss.pgh.pa.us>
Re: Deprecating RULES Stirling Newberry <stirling.newberry@xigenics.net>
Re: Deprecating RULES Simon Riggs <simon@2ndquadrant.com>
Re: Deprecating RULES "David Johnston" <polobo@yahoo.com>
Re: Deprecating RULES Greg Stark <stark@mit.edu>
Re: Deprecating RULES Bruce Momjian <bruce@momjian.us>
Re: Deprecating RULES Simon Riggs <simon@2ndQuadrant.com>
Re: Deprecating RULES Greg Stark <stark@mit.edu>
Re: Deprecating RULES Hannu Krosing <hannu@krosing.net>
Re: Deprecating RULES Simon Riggs <simon@2ndQuadrant.com>
Re: Deprecating RULES Andres Freund <andres@2ndquadrant.com>
Re: Deprecating RULES Andrew Dunstan <andrew@dunslane.net>
Re: Deprecating RULES Simon Riggs <simon@2ndQuadrant.com>
Re: Deprecating RULES Josh Berkus <josh@agliodbs.com>
Re: Deprecating RULES Simon Riggs <simon@2ndQuadrant.com>
Re: Deprecating RULES Peter Geoghegan <peter@2ndquadrant.com>
Re: Deprecating RULES Peter Geoghegan <peter@2ndquadrant.com>
Re: Deprecating RULES Bruce Momjian <bruce@momjian.us>
Re: Deprecating RULES Andrew Dunstan <andrew@dunslane.net>
Re: Deprecating RULES Bruce Momjian <bruce@momjian.us>
Re: Deprecating RULES Dimitri Fontaine <dimitri@2ndQuadrant.fr>
Re: Deprecating RULES Hannu Krosing <hannu@krosing.net>
Re: Deprecating RULES John R Pierce <pierce@hogranch.com>

> That's a pretty neat one-liner.  However... in my view, the real cost
> of rules is that they are hard to support as we add new features to
> SQL.  I believe we already decided to punt on making them work with
> CTEs... and maybe one other case?  I don't really remember the details
> any more, but presumably this will come up again with MERGE, and
> perhaps other cases...

Unless the easiest way to implement MERGE is to extend RULEs.

Actually, I found myself wondering about RULEs and FDWs, for that
matter.  There's not much synergy there now, but I can imagine RULEs
being used to do rewriting for funkier FDW setups, which would be hard
to do with TRIGGERs.

For example, imagine you have a series of CSV FDWs which relate to
segments of a postgres log.  You want to query them like they were one
table.  How would you use triggers to do that?

-- 
Josh Berkus
PostgreSQL Experts Inc.
http://pgexperts.com


В списке pgsql-hackers по дате отправления
От: Andres Freund
Дата:
От: Tom Lane
Дата:
FAQ