-
Task
-
Resolution: Done
-
Major
-
None
-
None
From duncan.sands:
The call to MemoryContextReset frees all allocated memory in one fell swoop, so the calls to pfree are totally useless and just complicate the logic. Tested by streaming 100 million rows and observing that memory usage did not increase.