Re: Error message with plpgsql CONTINUE

Поиск
Список
Период
Сортировка
От Tom Lane
Тема Re: Error message with plpgsql CONTINUE
Дата
Msg-id 4933.1440519390@sss.pgh.pa.us
обсуждение исходный текст
Ответ на Re: Error message with plpgsql CONTINUE  (Tom Lane <tgl@sss.pgh.pa.us>)
Ответы Re: Error message with plpgsql CONTINUE  (Alvaro Herrera <alvherre@2ndquadrant.com>)
Список pgsql-hackers
I wrote:
> Hmm ... what do you think of wording the error as "there is no label "foo"
> attached to any block enclosing this statement"?  That still leaves the
> terminology "block" undefined, but it seems better than "any statement
> enclosing this statement".

Actually, looking at the plpgsql documentation, I see that it is
completely consistent about using the word "block" to refer to
[DECLARE]/BEGIN/END.  So we probably can't get away with using the term in
a vaguer sense here.  So the wording would have to be "there is no label
"foo" attached to any block or loop enclosing this statement".  That's a
tad verbose, but at least it's clear ...
        regards, tom lane



В списке pgsql-hackers по дате отправления:

Предыдущее
От: Jim Nasby
Дата:
Сообщение: Re: WIP: Rework access method interface
Следующее
От: Alvaro Herrera
Дата:
Сообщение: Re: WIP: Rework access method interface