Re: [HACKERS] CTE inlining
От
Joe Conway
Тема
Re: [HACKERS] CTE inlining
Дата
Msg-id
4f98ca61-798b-8751-b2a7-7b0af2bc237b@joeconway.com
Ответ на
Re: [HACKERS] CTE inlining (Craig Ringer)
Список
Дерево обсуждения
[HACKERS] CTE inlining Ilya Shkuratov <motr.ilya@ya.ru>
Re: [HACKERS] CTE inlining Yaroslav <ladayaroslav@yandex.ru>
Re: [HACKERS] CTE inlining Andreas Joseph Krogh <andreas@visena.com>
Re: [HACKERS] CTE inlining Thomas Kellerer <spam_eater@gmx.net>
Re: [HACKERS] CTE inlining Craig Ringer <craig.ringer@2ndquadrant.com>
Re: [HACKERS] CTE inlining Tom Lane <tgl@sss.pgh.pa.us>
Re: [HACKERS] CTE inlining Tomas Vondra <tomas.vondra@2ndquadrant.com>
Re: [HACKERS] CTE inlining David Fetter <david@fetter.org>
Re: [HACKERS] CTE inlining Robert Haas <robertmhaas@gmail.com>
Re: [HACKERS] CTE inlining Andres Freund <andres@anarazel.de>
Re: [HACKERS] CTE inlining Gavin Flower <GavinFlower@archidevsys.co.nz>
Re: [HACKERS] CTE inlining Serge Rielau <serge@rielau.com>
Re: [HACKERS] CTE inlining Tom Lane <tgl@sss.pgh.pa.us>
Re: [HACKERS] CTE inlining Andrew Dunstan <andrew.dunstan@2ndquadrant.com>
Re: [HACKERS] CTE inlining Andreas Karlsson <andreas@proxel.se>
Re: [HACKERS] CTE inlining Craig Ringer <craig.ringer@2ndquadrant.com>
Re: [HACKERS] CTE inlining "David G. Johnston" <david.g.johnston@gmail.com>
Re: [HACKERS] CTE inlining Andres Freund <andres@anarazel.de>
Re: [HACKERS] CTE inlining Andrew Dunstan <andrew.dunstan@2ndquadrant.com>
Re: [HACKERS] CTE inlining Alvaro Herrera <alvherre@2ndquadrant.com>
Re: [HACKERS] CTE inlining Tom Lane <tgl@sss.pgh.pa.us>
Re: [HACKERS] CTE inlining Joe Conway <mail@joeconway.com>
Re: [HACKERS] CTE inlining Andrew Dunstan <andrew.dunstan@2ndquadrant.com>
Re: [HACKERS] CTE inlining Joe Conway <mail@joeconway.com>
Re: [HACKERS] CTE inlining Tomas Vondra <tomas.vondra@2ndquadrant.com>
Re: [HACKERS] CTE inlining Gavin Flower <GavinFlower@archidevsys.co.nz>
Re: [HACKERS] CTE inlining Tom Lane <tgl@sss.pgh.pa.us>
Re: [HACKERS] CTE inlining Serge Rielau <serge@rielau.com>
Re: [HACKERS] CTE inlining Craig Ringer <craig.ringer@2ndquadrant.com>
Re: [HACKERS] CTE inlining Joe Conway <mail@joeconway.com>
Re: [HACKERS] CTE inlining Craig Ringer <craig.ringer@2ndquadrant.com>
Re: [HACKERS] CTE inlining Tom Lane <tgl@sss.pgh.pa.us>
Re: [HACKERS] CTE inlining Stephen Frost <sfrost@snowman.net>
Re: [HACKERS] CTE inlining Joe Conway <mail@joeconway.com>
Re: [HACKERS] CTE inlining Andres Freund <andres@anarazel.de>
Re: [HACKERS] CTE inlining David Rowley <david.rowley@2ndquadrant.com>
Re: [HACKERS] CTE inlining Peter Eisentraut <peter.eisentraut@2ndquadrant.com>
Re: [HACKERS] CTE inlining "David G. Johnston" <david.g.johnston@gmail.com>
Re: [HACKERS] CTE inlining Tom Lane <tgl@sss.pgh.pa.us>
Re: [HACKERS] CTE inlining "David G. Johnston" <david.g.johnston@gmail.com>
Re: [HACKERS] CTE inlining Tom Lane <tgl@sss.pgh.pa.us>
Re: [HACKERS] CTE inlining Andrew Dunstan <andrew.dunstan@2ndquadrant.com>
Re: [HACKERS] CTE inlining Serge Rielau <serge@rielau.com>
Re: [HACKERS] CTE inlining Serge Rielau <serge@rielau.com>
Re: [HACKERS] CTE inlining Tomas Vondra <tomas.vondra@2ndquadrant.com>
Re: [HACKERS] CTE inlining Andrew Dunstan <andrew.dunstan@2ndquadrant.com>
Re: [HACKERS] CTE inlining Pavel Stehule <pavel.stehule@gmail.com>
Re: [HACKERS] CTE inlining Andres Freund <andres@anarazel.de>
Re: [HACKERS] CTE inlining Pavel Stehule <pavel.stehule@gmail.com>
Re: [HACKERS] CTE inlining Tomas Vondra <tomas.vondra@2ndquadrant.com>
Re: [HACKERS] CTE inlining Andrew Dunstan <andrew.dunstan@2ndquadrant.com>
Re: [HACKERS] CTE inlining David Fetter <david@fetter.org>
Re: [HACKERS] CTE inlining Andreas Karlsson <andreas@proxel.se>
Re: [HACKERS] CTE inlining Corey Huinker <corey.huinker@gmail.com>
Re: [HACKERS] CTE inlining "David G. Johnston" <david.g.johnston@gmail.com>
Re: [HACKERS] CTE inlining Andreas Karlsson <andreas@proxel.se>
Re: [HACKERS] CTE inlining "David G. Johnston" <david.g.johnston@gmail.com>
Re: [HACKERS] CTE inlining Craig Ringer <craig@2ndquadrant.com>
Re: [HACKERS] CTE inlining Andreas Karlsson <andreas@proxel.se>
Re: [HACKERS] CTE inlining David Fetter <david@fetter.org>
Re: [HACKERS] CTE inlining Tomas Vondra <tomas.vondra@2ndquadrant.com>
Re: [HACKERS] CTE inlining Merlin Moncure <mmoncure@gmail.com>
Re: [HACKERS] CTE inlining Tomas Vondra <tomas.vondra@2ndquadrant.com>
Re: [HACKERS] CTE inlining Andrew Dunstan <andrew.dunstan@2ndquadrant.com>
Re: [HACKERS] CTE inlining Craig Ringer <craig@2ndquadrant.com>
Re: [HACKERS] CTE inlining Thomas Kellerer <spam_eater@gmx.net>
Re: [HACKERS] CTE inlining Claudio Freire <klaussfreire@gmail.com>
Re: [HACKERS] CTE inlining David Fetter <david@fetter.org>
Re: [HACKERS] CTE inlining Claudio Freire <klaussfreire@gmail.com>
Re: [HACKERS] CTE inlining David Fetter <david@fetter.org>
Re: [HACKERS] CTE inlining Alvaro Herrera <alvherre@2ndquadrant.com>
Re: [HACKERS] CTE inlining Gavin Flower <GavinFlower@archidevsys.co.nz>
Re: [HACKERS] CTE inlining Thomas Kellerer <spam_eater@gmx.net>
Re: [HACKERS] CTE inlining Albe Laurenz <laurenz.albe@wien.gv.at>
Re: [HACKERS] CTE inlining Kenneth Marshall <ktm@rice.edu>
Re: [HACKERS] CTE inlining Gavin Flower <GavinFlower@archidevsys.co.nz>
Re: [HACKERS] CTE inlining Andreas Karlsson <andreas@proxel.se>
Re: [HACKERS] CTE inlining Tomas Vondra <tomas.vondra@2ndquadrant.com>
Re: [HACKERS] CTE inlining Pavel Stehule <pavel.stehule@gmail.com>
Re: [HACKERS] CTE inlining Merlin Moncure <mmoncure@gmail.com>
Re: [HACKERS] CTE inlining Petr Jelinek <petr.jelinek@2ndquadrant.com>
Re: [HACKERS] CTE inlining Julien Rouhaud <julien.rouhaud@dalibo.com>
Re: [HACKERS] CTE inlining Andrew Dunstan <andrew.dunstan@2ndquadrant.com>
Re: [HACKERS] CTE inlining Vik Fearing <vik.fearing@2ndquadrant.com>
Re: [HACKERS] CTE inlining Ilya Shkuratov <motr.ilya@ya.ru>
Re: [HACKERS] CTE inlining Tom Lane <tgl@sss.pgh.pa.us>
Re: [HACKERS] CTE inlining Bruce Momjian <bruce@momjian.us>
Re: [HACKERS] CTE inlining Merlin Moncure <mmoncure@gmail.com>
Re: [HACKERS] CTE inlining David Rowley <david.rowley@2ndquadrant.com>
Re: [HACKERS] CTE inlining Adam Brusselback <adambrusselback@gmail.com>
Re: [HACKERS] CTE inlining Pavel Stehule <pavel.stehule@gmail.com>
Re: [HACKERS] CTE inlining Corey Huinker <corey.huinker@gmail.com>
Re: [HACKERS] CTE inlining Andrew Dunstan <andrew.dunstan@2ndquadrant.com>
Re: [HACKERS] CTE inlining Craig Ringer <craig@2ndquadrant.com>
Re: [HACKERS] CTE inlining Craig Ringer <craig@2ndquadrant.com>
Re: [HACKERS] CTE inlining Craig Ringer <craig@2ndquadrant.com>
Re: [HACKERS] CTE inlining Thomas Kellerer <spam_eater@gmx.net>
Re: [HACKERS] CTE inlining Oleg Bartunov <obartunov@gmail.com>
Re: [HACKERS] CTE inlining Merlin Moncure <mmoncure@gmail.com>
Re: [HACKERS] CTE inlining Andrew Dunstan <andrew.dunstan@2ndquadrant.com>
Re: [HACKERS] CTE inlining Tomas Vondra <tomas.vondra@2ndquadrant.com>
On 05/04/2017 05:03 PM, Craig Ringer wrote: > On 5 May 2017 02:52, "Tom Lane" wrote: > I haven't been keeping close tabs either, but surely we still have > to have > the optimization fence in (at least) all these cases: > > * CTE contains INSERT/UPDATE/DELETE > * CTE contains SELECT FOR UPDATE/SHARE (else the set of rows that get > locked might change) > * CTE contains volatile functions > > I'm willing to write off cases where, eg, a function should have been > marked volatile and was not. That's user error and there are plenty > of hazards of that kind already. But if the optimizer has reason > to know that discarding the fence might change any query side-effects, > it mustn't. > > I think everyone is in total agreement there. That's great, but if so, why do we need any change in syntax at all? Joe -- Crunchy Data - http://crunchydata.com PostgreSQL Support for Secure Enterprises Consulting, Training, & Open Source Development
В списке pgsql-hackers по дате отправления