Peter Eisentraut <peter_e@gmx.net> writes:
> On Mon, 2009-09-28 at 10:44 -0700, John Naylor wrote:
>> + errmsg("statement FETCH returns more rows."),
>> + errhint("Multirows fetch are not allowed in PL/pgSQL.")));
>>
>> This might sound better as "statement FETCH returns multiple rows.",
> errmsg should be without period.
>> and "Multirow FETCH is not allowed in PL/pgSQL."
> That might better be errdetail.
It got committed like this:
ereport(ERROR, (errcode(ERRCODE_FEATURE_NOT_SUPPORTED), errmsg("FETCH
statementcannot return multiple rows")));
I didn't think the HINT was adding anything useful ...
regards, tom lane