2010/10/8 Tom Lane <t...@sss.pgh.pa.us>: > Pavel Stehule <pavel.steh...@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
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 > -- Sent via pgsql-hackers mailing list (pgsql-hackers@postgresql.org) To make changes to your subscription: http://www.postgresql.org/mailpref/pgsql-hackers