projects
/
postgresql
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
2856c51
)
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:11:59 +0000
(21:11 +0300)
src/pl/plpython/plpy_plpymodule.c
patch
|
blob
|
history
diff --git
a/src/pl/plpython/plpy_plpymodule.c
b/src/pl/plpython/plpy_plpymodule.c
index 01caa0a3236e59e413232f4fd27b93c226ca1a44..bc0b9e6f8423bec53bf15f8d0c2687ed8c6ed295 100644
(file)
--- a/
src/pl/plpython/plpy_plpymodule.c
+++ b/
src/pl/plpython/plpy_plpymodule.c
@@
-174,10
+174,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
");
}
static void