Reuse abbreviated keys in ordered [set] aggregates.

Robert Haas <rhaas@postgresql.org>

Commit: f1f5ec1efafe74ca45e24e0bf3371b1d6985c8ee
Author: Robert Haas <rhaas@postgresql.org>
Date: 2016-02-17T10:10:00Z
Releases: 9.6.0
Reuse abbreviated keys in ordered [set] aggregates.

When processing ordered aggregates following a sort that could make use
of the abbreviated key optimization, only call the equality operator to
compare successive pairs of tuples when their abbreviated keys were not
equal.

Peter Geoghegan, reviewd by Andreas Karlsson and by me.

Files