]> granicus.if.org Git - postgresql/commitdiff
Fix thinko in plpython error message
authorAlvaro Herrera <alvherre@alvh.no-ip.org>
Tue, 6 Jan 2015 18:16:29 +0000 (15:16 -0300)
committerAlvaro Herrera <alvherre@alvh.no-ip.org>
Tue, 6 Jan 2015 18:16:29 +0000 (15:16 -0300)
src/pl/plpython/plpython.c

index 88ef4fee553926d1bef1c284bdc363b71c0bb567..a71685d800c7a371a415a76ee6d5cf2f03e0d374 100644 (file)
@@ -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;