postgres.git / summary / log / commit / refs
commit 319ecff1ebbcdfbff88e9ebb726fb17fbd9f0d9a
Author: Alvaro Herrera <alvherre@alvh.no-ip.org>
Date: Tue Jan 06 18:16:29 2015 +0000
Fix thinko in plpython error message
src/pl/plpython/plpy_exec.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
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;
[parent: 2153002be3fa]