aboutsummaryrefslogtreecommitdiff
path: root/src/pl/plpython/plpython.c
diff options
context:
space:
mode:
authorPeter Eisentraut <peter_e@gmx.net>2007-05-31 15:13:06 +0000
committerPeter Eisentraut <peter_e@gmx.net>2007-05-31 15:13:06 +0000
commit7ce9b3683ea76233c33e550110c5a63ecd8add89 (patch)
tree4be97e40b3788a001f80e563b8d15211435492b1 /src/pl/plpython/plpython.c
parent54af8765930fda37b0dcbf6bbf43be981bb4454c (diff)
downloadpostgresql-7ce9b3683ea76233c33e550110c5a63ecd8add89.tar.gz
postgresql-7ce9b3683ea76233c33e550110c5a63ecd8add89.zip
Make some messages more consistent
Diffstat (limited to 'src/pl/plpython/plpython.c')
-rw-r--r--src/pl/plpython/plpython.c6
1 files changed, 3 insertions, 3 deletions
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;