Fix thinko in plpython error message

REL9_1_STABLE
Alvaro Herrera 11 years ago
parent f57802a463
commit 97f8a24078
  1. 2
      src/pl/plpython/plpython.c

@ -1131,7 +1131,7 @@ PLy_function_handler(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;

Loading…
Cancel
Save