ERROR when subtrasaction enter and exit
BaiShaoqi opened this issue · 2 comments
BaiShaoqi commented
Expected behavior
subtransaction_alternative_names
----------------------------------
(1 row)
Actual behavior
WARNING: forcibly aborting a subtransaction that has not been exited
ERROR: PL/Container client exception occurred:
DETAIL: Error receiving subtransaction exit error message
Step to reproduce the behavior
CREATE FUNCTION subtransaction_alternative_names() RETURNS void
AS $$
# container: plc_python_shared
s = plpy.subtransaction()
s.enter()
s.exit(None, None, None)
$$ LANGUAGE plcontainer;
SELECT subtransaction_alternative_names();
cf-gitbot commented
We have created an issue in Pivotal Tracker to manage this. Unfortunately, the Pivotal Tracker project is private so you may be unable to view the contents of the story.
The labels on this github issue will be updated when the story is started.
zhangh43 commented
Issue cannot be reproduced
postgres=# CREATE FUNCTION subtransaction_alternative_names() RETURNS void
postgres-# AS $$
postgres$# # container: plc_python_shared
postgres$# s = plpy.subtransaction()
postgres$# s.enter()
postgres$# s.exit(None, None, None)
postgres$# $$ LANGUAGE plcontainer;
CREATE FUNCTION
postgres=# select subtransaction_alternative_names();
subtransaction_alternative_names
----------------------------------
(1 row)
Close this issue.