Commit 91539c56 authored by Alvaro Herrera's avatar Alvaro Herrera

Fix thinko in plpython error message

parent 29c18d91
...@@ -89,7 +89,7 @@ PLy_exec_function(FunctionCallInfo fcinfo, PLyProcedure *proc) ...@@ -89,7 +89,7 @@ PLy_exec_function(FunctionCallInfo fcinfo, PLyProcedure *proc)
ereport(ERROR, ereport(ERROR,
(errcode(ERRCODE_FEATURE_NOT_SUPPORTED), (errcode(ERRCODE_FEATURE_NOT_SUPPORTED),
errmsg("unsupported set function return mode"), 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; rsi->returnMode = SFRM_ValuePerCall;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment