]> 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 8cf2d716f14ae860fe0944cfb938fe819be0ca84..4541ffb54d9496c1a2c883329521fec3e2d4bc6e 100644 (file)
@@ -1131,7 +1131,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;