mirror of
https://git.postgresql.org/git/postgresql.git
synced 2025-02-05 19:09:58 +08:00
Fix thinko in plpython error message
This commit is contained in:
parent
29c18d919e
commit
91539c5698
@ -89,7 +89,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;
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user