aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAlvaro Herrera <alvherre@alvh.no-ip.org>2015-01-06 15:16:29 -0300
committerAlvaro Herrera <alvherre@alvh.no-ip.org>2015-01-06 15:16:29 -0300
commit319ecff1ebbcdfbff88e9ebb726fb17fbd9f0d9a (patch)
treeefa012640f738303ecd1d5328b11e12bf10e8d04
parent2153002be3facf5329db2d4f3349bcae3554eac3 (diff)
downloadpostgresql-319ecff1ebbcdfbff88e9ebb726fb17fbd9f0d9a.tar.gz
postgresql-319ecff1ebbcdfbff88e9ebb726fb17fbd9f0d9a.zip
Fix thinko in plpython error message
-rw-r--r--src/pl/plpython/plpy_exec.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/pl/plpython/plpy_exec.c b/src/pl/plpython/plpy_exec.c
index b6eb6f1f951..5183f9c9181 100644
--- a/src/pl/plpython/plpy_exec.c
+++ b/src/pl/plpython/plpy_exec.c
@@ -89,7 +89,7 @@ PLy_exec_function(FunctionCallInfo fcinfo, PLyProcedure *proc)
ereport(ERROR,
(errcode(ERRCODE_FEATURE_NOT_SUPPORTED),
errmsg("unsupported set function return mode"),
- errdetail("PL/Python set-returning functions only support returning only value per call.")));
+ errdetail("PL/Python set-returning functions only support returning one value per call.")));
}
rsi->returnMode = SFRM_ValuePerCall;