Re: [BUGS] BUG #5757: PL/PGSQL composite variable field error reporting

2010-11-18 Thread Tom Lane
"Andrey G." writes: > CREATE FUNCTION Bug_5757_test() > RETURNS VOID > AS $$ > DECLARE > v_comp CompositeType; > BEGIN > IF v_comp.non_existing_field THEN > NULL; > END IF; > END; > $$ > LANGUAGE plpgsql; OK, I did something about that. Thanks for the report!

Re: [BUGS] BUG #5757: PL/PGSQL composite variable field error reporting

2010-11-18 Thread Andrey G.
No problem, please find a simple test case with its execution result below: -- START TRANSACTION; CREATE TYPE CompositeType AS (     existing_field TEXT ); -- CREATE FUNCTION Bug_5757_test()     RETURNS VOID AS $$ DECLA

Re: [BUGS] BUG #5757: PL/PGSQL composite variable field error reporting

2010-11-18 Thread Tom Lane
"Andrey Galkin" writes: > The following bug has been logged online: > Bug reference: 5757 > Logged by: Andrey Galkin > Email address: andv...@gmail.com > PostgreSQL version: 9.0.1 > Operating system: Debian unstable > Description:PL/PGSQL composite variable field erro

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

2010-11-18 Thread Andrey Galkin
The following bug has been logged online: Bug reference: 5757 Logged by: Andrey Galkin Email address: andv...@gmail.com PostgreSQL version: 9.0.1 Operating system: Debian unstable Description:PL/PGSQL composite variable field error reporting Details: 1. Create a var