We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 2f36359 commit 4c966d9Copy full SHA for 4c966d9
src/pl/plpython/plpython.c
@@ -3936,6 +3936,7 @@ PLy_add_exceptions(PyObject *plpy)
3936
#endif
3937
if (PyModule_AddObject(plpy, "spiexceptions", excmod) < 0)
3938
PLy_elog(ERROR, "failed to add the spiexceptions module");
3939
+ Py_INCREF(excmod);
3940
3941
PLy_exc_error = PyErr_NewException("plpy.Error", NULL, NULL);
3942
PLy_exc_fatal = PyErr_NewException("plpy.Fatal", NULL, NULL);
0 commit comments