feichanghong <feichanghong@qq.com> writes:
> For v04-0002, I checked the commit history, and before commit 133924e1,
> buildSubPlanHash was using ecxt_per_tuple_memory. It seems that the
> "Subplan HashTable Temp Context" was introduced in order to fix a certain bug.
It was a different ExprContext's ecxt_per_tuple_memory, though.
This one is owned locally by the TupleHashTable.
regards, tom lane