postgres.git / summary / log / commit / refs
commit 9dcfb2bca5fdad3ddc4539efe5636de8db4fe9c4
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 88ef4fee553..a71685d800c 100644
--- a/src/pl/plpython/plpython.c
+++ b/src/pl/plpython/plpython.c
@@ -1018,7 +1018,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: 1d74e16dd59a]