Re: Using GROUPING SETS with more than one set disables predicate pushdown?

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 




On November 21, 2017 6:49:26 AM PST, Tom Lane <tgl@xxxxxxxxxxxxx> wrote:
>Zakhar Shapurau <zak@xxxxxx> writes:
>
>Presumably, we could examine the grouping sets to identify column(s)
>present in all sets, and then allow the optimization for clauses that
>reference only such columns.  Or maybe I'm misreading the comment
>(but then it needs clarification).

By memory that sounds about right. IIRC we'd some slightly more elaborate logic when GS were introduced, but had to take it out as buggy, and it was too late in the development cycle to come up with something better.

Andres

Andres
-- 
Sent from my Android device with K-9 Mail. Please excuse my brevity.





[Postgresql General]     [Postgresql PHP]     [PHP Users]     [PHP Home]     [PHP on Windows]     [Kernel Newbies]     [PHP Classes]     [PHP Books]     [PHP Databases]     [Yosemite]

  Powered by Linux