Skip to content

Commit 4c966d9

Browse files
committed
Fix plpython breakage detected on certain Fedora machines on buildfarm.
Patch from Jan Urbański.
1 parent 2f36359 commit 4c966d9

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

src/pl/plpython/plpython.c

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3936,6 +3936,7 @@ PLy_add_exceptions(PyObject *plpy)
39363936
#endif
39373937
if (PyModule_AddObject(plpy, "spiexceptions", excmod) < 0)
39383938
PLy_elog(ERROR, "failed to add the spiexceptions module");
3939+
Py_INCREF(excmod);
39393940

39403941
PLy_exc_error = PyErr_NewException("plpy.Error", NULL, NULL);
39413942
PLy_exc_fatal = PyErr_NewException("plpy.Fatal", NULL, NULL);

0 commit comments

Comments
 (0)
pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy