From 753e62e17d520fa5181932cb11de70bc03d70746 Mon Sep 17 00:00:00 2001
From: Alvaro Herrera <alvherre@alvh.no-ip.org>
Date: Tue, 6 Jan 2015 15:16:29 -0300
Subject: [PATCH] Fix thinko in plpython error message

---
 src/pl/plpython/plpy_exec.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/src/pl/plpython/plpy_exec.c b/src/pl/plpython/plpy_exec.c
index 13deed7df6d..e5a82cf0622 100644
--- a/src/pl/plpython/plpy_exec.c
+++ b/src/pl/plpython/plpy_exec.c
@@ -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;
 
-- 
GitLab