Aleksey Romanov <drednout.by@gmail.com> writes:
> In case of simultaneous calling plpythonu stored procedure and locking test
> table I have reproducible segfault of PosgreSQL backend process.
Hm, I can't reproduce that in either HEAD or 9.5. I get
^CCancel request sent
ERROR: spiexceptions.QueryCanceled: canceling statement due to user request
CONTEXT: Traceback (most recent call last):
PL/Python function "test_plpy_postgres_crash", line 8, in <module>
select_plan = plpy.prepare(select_query, ["integer"])
PL/Python function "test_plpy_postgres_crash"
regards, tom lane