Re: a few small bugs in plpgsql

Поиск
Список
Период
Сортировка
От Tom Lane
Тема Re: a few small bugs in plpgsql
Дата
Msg-id 21511.1286545576@sss.pgh.pa.us
обсуждение исходный текст
Ответ на Re: a few small bugs in plpgsql  (Pavel Stehule <pavel.stehule@gmail.com>)
Ответы Re: a few small bugs in plpgsql  (Pavel Stehule <pavel.stehule@gmail.com>)
Список pgsql-hackers
Pavel Stehule <pavel.stehule@gmail.com> writes:
> Now I understand to interpretation. But there is little bit difficult
> to understand to error message. Can be message enhanced to show a
> complete expression?

It does already:

regression=# select foo();
ERROR:  column "label" does not exist
LINE 2:   <<label>>           ^
QUERY:  SELECT 10 <<label>>
CONTEXT:  PL/pgSQL function "foo" line 3 at FOR with integer loop variable

The "query" is SELECT followed by whatever plpgsql thought the
expression was.
        regards, tom lane


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

Предыдущее
От: Thom Brown
Дата:
Сообщение: Re: Timeout and Synch Rep
Следующее
От: Fujii Masao
Дата:
Сообщение: Re: Issues with Quorum Commit