Re: BUG #5757: PL/PGSQL composite variable field error reporting - Mailing list pgsql-bugs

From Tom Lane
Subject Re: BUG #5757: PL/PGSQL composite variable field error reporting
Date
Msg-id 3851.1290102809@sss.pgh.pa.us
Whole thread Raw
In response to BUG #5757: PL/PGSQL composite variable field error reporting  ("Andrey Galkin" <andvgal@gmail.com>)
Responses Re: BUG #5757: PL/PGSQL composite variable field error reporting
List pgsql-bugs
"Andrey Galkin" <andvgal@gmail.com> writes:
> 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

Please provide a complete test-case, not a vague description.

            regards, tom lane

pgsql-bugs by date:

Previous
From: "Andrey Galkin"
Date:
Subject: BUG #5757: PL/PGSQL composite variable field error reporting
Next
From: Robert Haas
Date:
Subject: Re: BUG #5744: Debugging doesn't work in version 8.3.12 on windows.