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 12159.1290118922@sss.pgh.pa.us
Whole thread Raw
In response to Re: BUG #5757: PL/PGSQL composite variable field error reporting  ("Andrey G." <andvgal@gmail.com>)
List pgsql-bugs
"Andrey G." <andvgal@gmail.com> 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!

            regards, tom lane

pgsql-bugs by date:

Previous
From: "Andrey G."
Date:
Subject: Re: BUG #5757: PL/PGSQL composite variable field error reporting
Next
From: "Sunil Vedd"
Date:
Subject: BUG #5758: Error during backup