From: | Pavel Stehule <pavel(dot)stehule(at)gmail(dot)com> |
---|---|
To: | Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us> |
Cc: | PostgreSQL Hackers <pgsql-hackers(at)postgresql(dot)org> |
Subject: | Re: a few small bugs in plpgsql |
Date: | 2010-10-08 14:18:15 |
Message-ID: | AANLkTi=cz6xnkH2-QmGMWOxZor4W-nmcNds+UvMXfZbC@mail.gmail.com |
Views: | Raw Message | Whole Thread | Download mbox | Resend email |
Thread: | |
Lists: | pgsql-hackers |
2010/10/8 Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>:
> Pavel Stehule <pavel(dot)stehule(at)gmail(dot)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
the keyword QUERY is misleading :(
but you have a true - there are all necessary information.
Regards
Pavel Stehule
> <<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
>
From | Date | Subject | |
---|---|---|---|
Next Message | Fujii Masao | 2010-10-08 14:26:03 | Re: Issues with Quorum Commit |
Previous Message | Pavel Stehule | 2010-10-08 14:14:21 | Re: proposal: plpgsql, solution for derivated types of parameters |