From: | Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us> |
---|---|
To: | Peter Eisentraut <peter_e(at)gmx(dot)net> |
Cc: | John Naylor <jcnaylor(at)gmail(dot)com>, pgsql-hackers(at)postgresql(dot)org |
Subject: | Re: Review handling of MOVE and FETCH (ToDo) |
Date: | 2009-09-30 13:51:47 |
Message-ID: | 13930.1254318707@sss.pgh.pa.us |
Views: | Raw Message | Whole Thread | Download mbox | Resend email |
Thread: | |
Lists: | pgsql-hackers |
Peter Eisentraut <peter_e(at)gmx(dot)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 statement cannot return multiple rows")));
I didn't think the HINT was adding anything useful ...
regards, tom lane
From | Date | Subject | |
---|---|---|---|
Next Message | Alvaro Herrera | 2009-09-30 14:34:29 | Re: TODO item: Allow more complex user/database default GUC settings |
Previous Message | Stephen Frost | 2009-09-30 12:23:47 | Re: [PATCH] Reworks for Access Control facilities (r2311) |