Re: EXPLAIN VERBOSE with parallel Aggregate
От | Robert Haas |
---|---|
Тема | Re: EXPLAIN VERBOSE with parallel Aggregate |
Дата | |
Msg-id | CA+Tgmoa51CFZEM=vdaJiW2_Zq20FRRSGoCtj+XurNBe3oSNG6g@mail.gmail.com обсуждение исходный текст |
Ответ на | Re: EXPLAIN VERBOSE with parallel Aggregate (David Rowley <david.rowley@2ndquadrant.com>) |
Ответы |
Re: EXPLAIN VERBOSE with parallel Aggregate
|
Список | pgsql-hackers |
On Tue, Apr 26, 2016 at 10:57 PM, David Rowley <david.rowley@2ndquadrant.com> wrote: > On 27 April 2016 at 14:30, Robert Haas <robertmhaas@gmail.com> wrote: >> On Tue, Apr 26, 2016 at 9:56 PM, Robert Haas <robertmhaas@gmail.com> wrote: >>> On Tue, Apr 26, 2016 at 9:14 PM, David Rowley >>> <david.rowley@2ndquadrant.com> wrote: >>>> I'd also have expected the output of both partial nodes to be the >>>> same, i.e. both prefixed with PARTIAL. Is it intended that they don't? >>>> or have I made some other mistake? >>> >>> No, that's a defect in the patch. I didn't consider that we need to >>> support nodes with finalizeAggs = false and combineStates = true, >>> which is why that ERROR was there. Working on a fix now. >> >> I think this version should work, provided you use >> partial_grouping_target where needed. > > +static void get_special_variable(Node *node, deparse_context *context, > + void *private); > > "private" is reserved in C++? I understood we want our C code to > compile as C++ too, right? or did I get my wires crossed somewhere? I can call it something other than "private", if you have a suggestion; normally I would have used "context", but that's already taken in this case. private_context would work, I guess. -- Robert Haas EnterpriseDB: http://www.enterprisedb.com The Enterprise PostgreSQL Company
В списке pgsql-hackers по дате отправления: