BUG #5757: PL/PGSQL composite variable field error reporting

Поиск
Список
Период
Сортировка
От Andrey Galkin
Тема BUG #5757: PL/PGSQL composite variable field error reporting
Дата
Msg-id 201011181649.oAIGn9AP060902@wwwmaster.postgresql.org
обсуждение исходный текст
Ответы Re: BUG #5757: PL/PGSQL composite variable field error reporting  (Tom Lane <tgl@sss.pgh.pa.us>)
Список pgsql-bugs
The following bug has been logged online:

Bug reference:      5757
Logged by:          Andrey Galkin
Email address:      andvgal@gmail.com
PostgreSQL version: 9.0.1
Operating system:   Debian unstable
Description:        PL/PGSQL composite variable field error reporting
Details:

1. Create a variable of composite type in PL/PGSQL function
2. Try to reference not existing field of the variable in some statement,
like IF
3. Get "missing FROM-clause entry for table" error at runtime

The error is not very helpful. If it's possible please detect the
incorrectly referenced field at parsing/statement preparing time.

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

Предыдущее
От: Jon Nelson
Дата:
Сообщение: Re: Problem with ALTER TABLE - occasional "tuple concurrently updated"
Следующее
От: Tom Lane
Дата:
Сообщение: Re: BUG #5757: PL/PGSQL composite variable field error reporting