[COMMITTERS] pgsql: Prevent sharing transition states between ordered-set aggregates

2017-10-11 Thread Tom Lane
Prevent sharing transition states between ordered-set aggregates. This ought to work, but the built-in OSAs are not capable of coping, because their final-functions destructively modify their transition state (specifically, the contained tuplesort object). That was fine when those functions were

[COMMITTERS] pgsql: Prevent sharing transition states between ordered-set aggregates

2017-10-11 Thread Tom Lane
Prevent sharing transition states between ordered-set aggregates. This ought to work, but the built-in OSAs are not capable of coping, because their final-functions destructively modify their transition state (specifically, the contained tuplesort object). That was fine when those functions were

[COMMITTERS] pgsql: Prevent sharing transition states between ordered-set aggregates

2017-10-11 Thread Tom Lane
Prevent sharing transition states between ordered-set aggregates. This ought to work, but the built-in OSAs are not capable of coping, because their final-functions destructively modify their transition state (specifically, the contained tuplesort object). That was fine when those functions were