Re: Allowing NOT IN to use ANTI joins
От
Simon Riggs
Тема
Re: Allowing NOT IN to use ANTI joins
Дата
Msg-id
CA+U5nMJGuzD-inHr-bR+ogueCQnbCX4BU-c8z73cK_HwF7AdCg@mail.gmail.com
Ответ на
Re: Allowing NOT IN to use ANTI joins (Tom Lane)
Список
Дерево обсуждения
Allowing NOT IN to use ANTI joins David Rowley <dgrowleyml@gmail.com>
Re: Allowing NOT IN to use ANTI joins Martijn van Oosterhout <kleptog@svana.org>
Re: Allowing NOT IN to use ANTI joins Vik Fearing <vik.fearing@dalibo.com>
Re: Allowing NOT IN to use ANTI joins Marti Raudsepp <marti@juffo.org>
Re: Allowing NOT IN to use ANTI joins Tom Lane <tgl@sss.pgh.pa.us>
Re: Allowing NOT IN to use ANTI joins David Rowley <dgrowleyml@gmail.com>
Re: Allowing NOT IN to use ANTI joins Marti Raudsepp <marti@juffo.org>
Re: Allowing NOT IN to use ANTI joins Tom Lane <tgl@sss.pgh.pa.us>
Re: Allowing NOT IN to use ANTI joins Greg Stark <stark@mit.edu>
Re: Allowing NOT IN to use ANTI joins Simon Riggs <simon@2ndQuadrant.com>
Re: Allowing NOT IN to use ANTI joins Tom Lane <tgl@sss.pgh.pa.us>
Re: Allowing NOT IN to use ANTI joins Simon Riggs <simon@2ndQuadrant.com>
Re: Allowing NOT IN to use ANTI joins Tom Lane <tgl@sss.pgh.pa.us>
Re: Allowing NOT IN to use ANTI joins Simon Riggs <simon@2ndQuadrant.com>
Re: Allowing NOT IN to use ANTI joins Marti Raudsepp <marti@juffo.org>
Re: Allowing NOT IN to use ANTI joins David Rowley <dgrowleyml@gmail.com>
Re: Allowing NOT IN to use ANTI joins David Rowley <dgrowleyml@gmail.com>
Re: Allowing NOT IN to use ANTI joins Simon Riggs <simon@2ndQuadrant.com>
Re: Allowing NOT IN to use ANTI joins Simon Riggs <simon@2ndQuadrant.com>
Re: Allowing NOT IN to use ANTI joins Tom Lane <tgl@sss.pgh.pa.us>
Re: Allowing NOT IN to use ANTI joins David Rowley <dgrowleyml@gmail.com>
Re: Allowing NOT IN to use ANTI joins Tom Lane <tgl@sss.pgh.pa.us>
Re: Allowing NOT IN to use ANTI joins David Rowley <dgrowleyml@gmail.com>
Re: Allowing NOT IN to use ANTI joins Jeevan Chalke <jeevan.chalke@enterprisedb.com>
Re: Allowing NOT IN to use ANTI joins David Rowley <dgrowleyml@gmail.com>
Re: Allowing NOT IN to use ANTI joins Tom Lane <tgl@sss.pgh.pa.us>
Re: Allowing NOT IN to use ANTI joins Tom Lane <tgl@sss.pgh.pa.us>
Re: Allowing NOT IN to use ANTI joins David Rowley <dgrowleyml@gmail.com>
Re: Allowing NOT IN to use ANTI joins Tom Lane <tgl@sss.pgh.pa.us>
Re: Allowing NOT IN to use ANTI joins David Rowley <dgrowleyml@gmail.com>
Re: Allowing NOT IN to use ANTI joins Andres Freund <andres@2ndquadrant.com>
Re: Allowing NOT IN to use ANTI joins Tom Lane <tgl@sss.pgh.pa.us>
Re: Allowing NOT IN to use ANTI joins David Rowley <dgrowleyml@gmail.com>
Re: Allowing NOT IN to use ANTI joins Tom Lane <tgl@sss.pgh.pa.us>
Re: Allowing NOT IN to use ANTI joins David Rowley <dgrowleyml@gmail.com>
Re: Allowing NOT IN to use ANTI joins Tom Lane <tgl@sss.pgh.pa.us>
Re: Allowing NOT IN to use ANTI joins Simon Riggs <simon@2ndQuadrant.com>
Re: Allowing NOT IN to use ANTI joins Tom Lane <tgl@sss.pgh.pa.us>
Re: Allowing NOT IN to use ANTI joins David Rowley <dgrowleyml@gmail.com>
Re: Allowing NOT IN to use ANTI joins Jeevan Chalke <jeevan.chalke@enterprisedb.com>
Re: Allowing NOT IN to use ANTI joins David Rowley <dgrowleyml@gmail.com>
Re: Allowing NOT IN to use ANTI joins Simon Riggs <simon@2ndQuadrant.com>
Re: Allowing NOT IN to use ANTI joins Jeff Janes <jeff.janes@gmail.com>
Re: Allowing NOT IN to use ANTI joins Tom Lane <tgl@sss.pgh.pa.us>
Re: Allowing NOT IN to use ANTI joins Jeff Janes <jeff.janes@gmail.com>
Re: Allowing NOT IN to use ANTI joins Tom Lane <tgl@sss.pgh.pa.us>
Re: Allowing NOT IN to use ANTI joins David Rowley <dgrowleyml@gmail.com>
On 24 June 2014 23:44, Tom Lane wrote: > Simon Riggs writes: >> Having said that, any join plan that relies upon a constraint will >> still be valid even if we drop a constraint while the plan executes >> because any new writes will not be visible to the executing join plan. > > mumble ... EvalPlanQual ? As long as we are relaxing a constraint, we are OK if an earlier snapshot thinks its dealing with a tighter constraint whereas the new reality is a relaxed constraint. The worst that could happen is we hit an ERROR from a constraint that was in force at the start of the query, so for consistency we really should be enforcing the same constraint throughout the lifetime of the query. -- Simon Riggs http://www.2ndQuadrant.com/PostgreSQL Development, 24x7 Support, Training & Services
В списке pgsql-hackers по дате отправления