Fix typos

This commit is contained in:
Peter Eisentraut 2012-01-10 22:49:17 +02:00
parent a9f2e31cf6
commit 26e89e7f23
1 changed files with 2 additions and 2 deletions

View 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);