projects
/
users
/
rhaas
/
postgres.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
3429019
)
PL/Python: Improve error messages
author
Peter Eisentraut
<peter_e@gmx.net>
Wed, 25 Apr 2012 18:11:59 +0000
(21:11 +0300)
committer
Peter Eisentraut
<peter_e@gmx.net>
Wed, 25 Apr 2012 18:12:48 +0000
(21:12 +0300)
src/pl/plpython/plpython.c
patch
|
blob
|
blame
|
history
diff --git
a/src/pl/plpython/plpython.c
b/src/pl/plpython/plpython.c
index a3c8e5f0f0d16d1a465ca7930b5e7c51ccba1116..c7b9b6003edd8c9ea736c4f0943c6d8f2925273a 100644
(file)
--- a/
src/pl/plpython/plpython.c
+++ b/
src/pl/plpython/plpython.c
@@
-4181,10
+4181,10
@@
PLy_init_plpy(void)
main_dict = PyModule_GetDict(main_mod);
plpy_mod = PyImport_AddModule("plpy");
if (plpy_mod == NULL)
- PLy_elog(ERROR, "could not i
nitialize plpy
");
+ PLy_elog(ERROR, "could not i
mport \"plpy\" module
");
PyDict_SetItemString(main_dict, "plpy", plpy_mod);
if (PyErr_Occurred())
- PLy_elog(ERROR, "could not i
nitialize plpy
");
+ PLy_elog(ERROR, "could not i
mport \"plpy\" module
");
}
/* the python interface to the elog function