On Wed, Feb 7, 2018 at 3:24 AM, Andrew Gierth
<andrew(at)tao11(dot)riddles(dot)org(dot)uk> wrote:
> I just eyeballed that. The obvious question that comes to mind is, can't
> this issue be fixed in nodeAgg rather than monkeying with the slot code?
You're looking at the wrong patch. There are two patches posted that
each fix the issue in different ways. One of which was really just for
illustrative purposes. The right place to fix this is in tuplesort.c.
--
Peter Geoghegan