Alexander Lakhin <exclusion(at)gmail(dot)com> writes:
>> When running in parallel two queries (modified excerpts from
>> src/test/regress/ join.sql and update.sql):
> The patch to reproduce the crash on master is attached,
Thanks for the test case. It's surprising though that we don't see
this fail out-of-the-box. It's not okay to reset the context that
a systable scan is using ...
regards, tom lane