From 7ce9b3683ea76233c33e550110c5a63ecd8add89 Mon Sep 17 00:00:00 2001 From: Peter Eisentraut Date: Thu, 31 May 2007 15:13:06 +0000 Subject: Make some messages more consistent --- src/pl/plpython/plpython.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'src/pl/plpython/plpython.c') diff --git a/src/pl/plpython/plpython.c b/src/pl/plpython/plpython.c index c37fc2dac1a..b7172cd2dd5 100644 --- a/src/pl/plpython/plpython.c +++ b/src/pl/plpython/plpython.c @@ -1,7 +1,7 @@ /********************************************************************** * plpython.c - python as a procedural language for PostgreSQL * - * $PostgreSQL: pgsql/src/pl/plpython/plpython.c,v 1.100 2007/04/04 17:28:11 momjian Exp $ + * $PostgreSQL: pgsql/src/pl/plpython/plpython.c,v 1.101 2007/05/31 15:13:05 petere Exp $ * ********************************************************************* */ @@ -484,7 +484,7 @@ PLy_modify_tuple(PLyProcedure * proc, PyObject * pltd, TriggerData *tdata, PG_TRY(); { if ((plntup = PyDict_GetItemString(pltd, "new")) == NULL) - elog(ERROR, "TD[\"new\"] deleted, unable to modify tuple"); + elog(ERROR, "TD[\"new\"] deleted, cannot modify tuple"); if (!PyDict_Check(plntup)) elog(ERROR, "TD[\"new\"] is not a dictionary object"); Py_INCREF(plntup); @@ -2822,7 +2822,7 @@ PLy_output(volatile int level, PyObject * self, PyObject * args) if (so == NULL || ((sv = PyString_AsString(so)) == NULL)) { level = ERROR; - sv = "Unable to parse error message in `plpy.elog'"; + sv = "could not parse error message in `plpy.elog'"; } oldcontext = CurrentMemoryContext; -- cgit v1.2.3