From: Andrey Galkin <andvgal@gmail.com>
To: pgsql-bugs@postgresql.org
Subject: BUG #5757: PL/PGSQL composite variable field error reporting
Date: Thu, 18 Nov 2010 16:49:09 GMT
Message-ID: <201011181649.oAIGn9AP060902@wwwmaster.postgresql.org> (raw)
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.
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Reply to all the recipients from your mail client; the link fills in
the headers below: reply via email
Some clients, webmail especially, drop In-Reply-To and References from
a link, and the reply then starts a new thread: use the mbox below.
To: pgsql-bugs@postgresql.org
Cc: andvgal@gmail.com
Subject: Re: BUG #5757: PL/PGSQL composite variable field error reporting
In-Reply-To: <201011181649.oAIGn9AP060902@wwwmaster.postgresql.org>
References: <201011181649.oAIGn9AP060902@wwwmaster.postgresql.org>
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox