Peter Eisentraut <[email protected]> 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 statement cannot return multiple rows")));
I didn't think the HINT was adding anything useful ...
regards, tom lane
--
Sent via pgsql-hackers mailing list ([email protected])
To make changes to your subscription:
http://www.postgresql.org/mailpref/pgsql-hackers