Fix typos
authorPeter Eisentraut
Tue, 10 Jan 2012 20:49:17 +0000 (22:49 +0200)
committerPeter Eisentraut
Tue, 10 Jan 2012 20:49:17 +0000 (22:49 +0200)
src/pl/plpython/plpy_cursorobject.c

index b1ef7d73a3e69f8bd0f47474ce5dd594a24eaf7e..4226dc7d193d35a5f3bd66644a2983b2236d014b 100644 (file)
@@ -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);