[prev in list] [next in list] [prev in thread] [next in thread]
List: postgresql-general
Subject: Re: [HACKERS] Review handling of MOVE and FETCH (ToDo)
From: Tom Lane <tgl () sss ! pgh ! pa ! us>
Date: 2009-09-30 13:51:47
Message-ID: 13930.1254318707 () sss ! pgh ! pa ! us
[Download RAW message or body]
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 statement cannot return multiple rows")));
I didn't think the HINT was adding anything useful ...
regards, tom lane
--
Sent via pgsql-hackers mailing list (pgsql-hackers@postgresql.org)
To make changes to your subscription:
http://www.postgresql.org/mailpref/pgsql-hackers
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic