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 b6eb6f1f9515cb4162c7fb168c6b6b63bd958a29..5183f9c9181b53e813d443ff1cafd90622064ccc 100644 (file)
@@ -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;