Re: Use outerPlanState() consistently in executor code
От
Robert Haas
Тема
Re: Use outerPlanState() consistently in executor code
Дата
Msg-id
CA+TgmoY5zMeVx3WsvbvxXFUte5iURwA1RjtuT=+uYuSFJ=FpNg@mail.gmail.com
Ответ на
Use outerPlanState() consistently in executor code (Qingqing Zhou)
Список
Дерево обсуждения
Use outerPlanState() consistently in executor code Qingqing Zhou <zhouqq.postgres@gmail.com>
Re: Use outerPlanState() consistently in executor code Robert Haas <robertmhaas@gmail.com>
Re: Use outerPlanState() consistently in executor code Bruce Momjian <bruce@momjian.us>
Re: Use outerPlanState() consistently in executor code Robert Haas <robertmhaas@gmail.com>
Re: Use outerPlanState() consistently in executor code Qingqing Zhou <zhouqq.postgres@gmail.com>
Re: Use outerPlanState() consistently in executor code Robert Haas <robertmhaas@gmail.com>
Re: Use outerPlanState() consistently in executor code Tom Lane <tgl@sss.pgh.pa.us>
Re: Use outerPlanState() consistently in executor code Qingqing Zhou <zhouqq.postgres@gmail.com>
Re: Use outerPlanState() consistently in executor code Robert Haas <robertmhaas@gmail.com>
Re: Use outerPlanState() consistently in executor code Qingqing Zhou <zhouqq.postgres@gmail.com>
On Wed, Apr 15, 2015 at 3:38 PM, Qingqing Zhou wrote: > In executor context, outerPlanState(node) is the same as > node->ss.ps.lefttree. We follow this in most places except a few. This > patch clean up the outliers and might save us a few instructions by > removing indirection. > > Most of changes are trivial. Except I take out an outerPlan nullable > check in grouping iterator - as a it surely has a left child. I don't see any particular reason not to do this. The patch is weird, though. If I open it with "less", I get binary garbage. My Mac's TextEdit app opens it OK though. -- Robert Haas EnterpriseDB: http://www.enterprisedb.com The Enterprise PostgreSQL Company
В списке pgsql-hackers по дате отправления