Fix thinko in plpython error message
authorAlvaro Herrera
Tue, 6 Jan 2015 18:16:29 +0000 (15:16 -0300)
committerAlvaro Herrera
Tue, 6 Jan 2015 18:16:29 +0000 (15:16 -0300)
src/pl/plpython/plpy_exec.c

index 13deed7df6d3803c25f2fba7da2f2255770ecdd2..e5a82cf06226083bb9d42029b060b1312f440e35 100644 (file)
@@ -88,7 +88,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;