postgres.git / summary / log / commit / refs
commit 26e89e7f23194e390ec4326cd0198a1992c2adf0
Author: Peter Eisentraut <peter_e@gmx.net>
Date: Tue Jan 10 20:49:17 2012 +0000
First released in: 9.2.0
Fix typos
src/pl/plpython/plpy_cursorobject.c | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/src/pl/plpython/plpy_cursorobject.c b/src/pl/plpython/plpy_cursorobject.c
index b1ef7d73a3e..4226dc7d193 100644
--- a/src/pl/plpython/plpy_cursorobject.c
+++ b/src/pl/plpython/plpy_cursorobject.c
@@ -134,7 +134,7 @@ PLy_cursor_query(const char *query)
SPI_freeplan(plan);
if (portal == NULL)
- elog(ERROR, "SPI_cursor_open() failed:%s",
+ elog(ERROR, "SPI_cursor_open() failed: %s",
SPI_result_code_string(SPI_result));
cursor->portalname = PLy_strdup(portal->name);
@@ -255,7 +255,7 @@ PLy_cursor_plan(PyObject *ob, PyObject *args)
portal = SPI_cursor_open(NULL, plan->plan, plan->values, nulls,
PLy_curr_procedure->fn_readonly);
if (portal == NULL)
- elog(ERROR, "SPI_cursor_open() failed:%s",
+ elog(ERROR, "SPI_cursor_open() failed: %s",
SPI_result_code_string(SPI_result));
cursor->portalname = PLy_strdup(portal->name);
[parent: a9f2e31cf653]