]> 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/plpy_exec.c

index 3724e67a0731830d3763c423abc4a2a161be15c3..8c525c932a7e50a9b895cd07d7e09042304f560e 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;