1
0
mirror of https://github.com/postgres/postgres.git synced 2025-05-21 15:54:08 +03:00

Fix thinko in plpython error message

This commit is contained in:
Alvaro Herrera 2015-01-06 15:16:29 -03:00
parent a5902566f2
commit 753e62e17d

View File

@ -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;