postgres.git / summary / log / commit / refs
commit 97f8a240785ec098420581e5e6a0ff2bd489a0ad
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/plpython.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/src/pl/plpython/plpython.c b/src/pl/plpython/plpython.c
index 8cf2d716f14..4541ffb54d9 100644
--- a/src/pl/plpython/plpython.c
+++ b/src/pl/plpython/plpython.c
@@ -1131,7 +1131,7 @@ PLy_function_handler(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: f57802a46382]