Remove inappropriate memory context switch in shutdown_MultiFuncCall(). This was a thinko introduced in a patch from last February; it results in memory leakage if an SRF is shut down before the actual end of query, because subsequent code will be running in a longer-lived context than it's expecting to be.
Remove inappropriate memory context switch in shutdown_MultiFuncCall().
This was a thinko introduced in a patch from last February; it results
in memory leakage if an SRF is shut down before the actual end of query,
because subsequent code will be running in a longer-lived context than
it's expecting to be.

tpostgres-projects/tPostgres,greenplum-db/gpdb,arcivanov/postgres-xl,Postgres-XL/Postgres-XL,yuanzhao/gpdb,greenplum-db/gpdb,Postgres-XL/Postgres-XL,jmcatamney/gpdb,edespino/gpdb,lisakowen/gpdb,postmind-net/postgres-xl,snaga/postgres-xl,Chibin/gpdb,jmcatamney/gpdb,edespino/gpdb,adam8157/gpdb,adam8157/gpdb,ashwinstar/gpdb,adam8157/gpdb,Chibin/gpdb,ovr/postgres-xl,50wu/gpdb,oberstet/postgres-xl,oberstet/postgres-xl,yuanzhao/gpdb,edespino/gpdb,ashwinstar/gpdb,50wu/gpdb,Postgres-XL/Postgres-XL,Chibin/gpdb,yuanzhao/gpdb,yuanzhao/gpdb,arcivanov/postgres-xl,lisakowen/gpdb,Chibin/gpdb,edespino/gpdb,yazun/postgres-xl,xinzweb/gpdb,tpostgres-projects/tPostgres,edespino/gpdb,50wu/gpdb,jmcatamney/gpdb,ovr/postgres-xl,edespino/gpdb,greenplum-db/gpdb,pavanvd/postgres-xl,kmjungersen/PostgresXL,Chibin/gpdb,jmcatamney/gpdb,xinzweb/gpdb,pavanvd/postgres-xl,snaga/postgres-xl,techdragon/Postgres-XL,ashwinstar/gpdb,xinzweb/gpdb,edespino/gpdb,zeroae/postgres-xl,techdragon/Postgres-XL,zeroae/postgres-xl,techdragon/Postgres-XL,lisakowen/gpdb,yuanzhao/gpdb,ovr/postgres-xl,Chibin/gpdb,snaga/postgres-xl,yazun/postgres-xl,tpostgres-projects/tPostgres,adam8157/gpdb,Postgres-XL/Postgres-XL,50wu/gpdb,postmind-net/postgres-xl,jmcatamney/gpdb,kmjungersen/PostgresXL,ashwinstar/gpdb,zeroae/postgres-xl,arcivanov/postgres-xl,xinzweb/gpdb,pavanvd/postgres-xl,Chibin/gpdb,ovr/postgres-xl,edespino/gpdb,techdragon/Postgres-XL,lisakowen/gpdb,zeroae/postgres-xl,50wu/gpdb,50wu/gpdb,techdragon/Postgres-XL,tpostgres-projects/tPostgres,yuanzhao/gpdb,kmjungersen/PostgresXL,yuanzhao/gpdb,snaga/postgres-xl,kmjungersen/PostgresXL,adam8157/gpdb,snaga/postgres-xl,xinzweb/gpdb,greenplum-db/gpdb,yuanzhao/gpdb,lisakowen/gpdb,greenplum-db/gpdb,50wu/gpdb,postmind-net/postgres-xl,ashwinstar/gpdb,adam8157/gpdb,xinzweb/gpdb,50wu/gpdb,arcivanov/postgres-xl,ashwinstar/gpdb,lisakowen/gpdb,postmind-net/postgres-xl,ovr/postgres-xl,edespino/gpdb,tpostgres-projects/tPostgres,xinzweb/gpdb,lisakowen/gpdb,Chibin/gpdb,yuanzhao/gpdb,oberstet/postgres-xl,ashwinstar/gpdb,arcivanov/postgres-xl,lisakowen/gpdb,pavanvd/postgres-xl,adam8157/gpdb,Chibin/gpdb,jmcatamney/gpdb,postmind-net/postgres-xl,yazun/postgres-xl,pavanvd/postgres-xl,jmcatamney/gpdb,adam8157/gpdb,greenplum-db/gpdb,greenplum-db/gpdb,oberstet/postgres-xl,yazun/postgres-xl,jmcatamney/gpdb,ashwinstar/gpdb,Chibin/gpdb,oberstet/postgres-xl,yuanzhao/gpdb,zeroae/postgres-xl,edespino/gpdb,xinzweb/gpdb,Postgres-XL/Postgres-XL,arcivanov/postgres-xl,yazun/postgres-xl,greenplum-db/gpdb,kmjungersen/PostgresXL