Hi,
After adf97c1562, the "MemoryContextSwitchTo(hashtable->hashCxt)" in ExecHashTableCreate()
is useless, so attach a patch to remove it. While at it, rename "oldctx" to "oldcxt" to keep consistent
and fix a stale comment.
Now PrepareTempTablespaces() will not be called within hashCxt, but I think it's ok.
--
Regards,
ChangAo Chen