mirror of
https://github.com/postgres/postgres.git
synced 2025-07-21 16:02:15 +03:00
Fix thinko in plpython error message
This commit is contained in:
@ -1018,7 +1018,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;
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user