Japin Li <japi...@hotmail.com> writes: > I see you have already push this patch on master (89f059bdf52), why not > remove MemoryContextSwitchTo in the middle of BeginCopyTo in this commit?
That was a different suggestion from a different person, so I didn't want to muddle the credit. Also, it requires a bit of testing, while 89f059bdf52 was visibly perfectly safe. regards, tom lane