[COMMITTERS] pgsql: Fix intra-query memory leakage in nodeProjectSet.c.

2017-10-06 Thread Tom Lane
Fix intra-query memory leakage in nodeProjectSet.c. Both ExecMakeFunctionResultSet() and evaluation of simple expressions need to be done in the per-tuple memory context, not per-query, else we leak data until end of query. This is a consideration that was missed while refactoring code in the Pro

[COMMITTERS] pgsql: Fix intra-query memory leakage in nodeProjectSet.c.

2017-10-06 Thread Tom Lane
Fix intra-query memory leakage in nodeProjectSet.c. Both ExecMakeFunctionResultSet() and evaluation of simple expressions need to be done in the per-tuple memory context, not per-query, else we leak data until end of query. This is a consideration that was missed while refactoring code in the Pro