Re: [HACKERS] MinMaxAggPath vs. parallel-safety

2016-06-27 Thread Robert Haas
On Mon, Jun 27, 2016 at 3:33 PM, Tom Lane wrote: > Robert Haas writes: >> On Sun, Jun 26, 2016 at 10:35 PM, Noah Misch wrote: >>> The above-described topic is currently a PostgreSQL 9.6 open item ("consider >>> whether MinMaxAggPath might fail to be parallel-safe"). > >> Currently, MinMaxAggPath

Re: [HACKERS] MinMaxAggPath vs. parallel-safety

2016-06-27 Thread Tom Lane
Robert Haas writes: > On Sun, Jun 26, 2016 at 10:35 PM, Noah Misch wrote: >> The above-described topic is currently a PostgreSQL 9.6 open item ("consider >> whether MinMaxAggPath might fail to be parallel-safe"). > Currently, MinMaxAggPath is never parallel-safe; the question is > whether we cou

[HACKERS] MinMaxAggPath vs. parallel-safety

2016-06-27 Thread Robert Haas
On Sun, Jun 26, 2016 at 10:35 PM, Noah Misch wrote: >> I looked into this and found that the costs are considered fuzzily the >> same, and then add_path prefers the slightly-worse path on the grounds >> that it is marked parallel_safe while the MinMaxAgg path is not. It seems >> to me that there