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

From: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
To: "Andrey G(dot)" <andvgal(at)gmail(dot)com>
Cc: pgsql-bugs(at)postgresql(dot)org
Subject: Re: BUG #5757: PL/PGSQL composite variable field error reporting
Date: 2010-11-18 22:22:02
Message-ID: 12159.1290118922@sss.pgh.pa.us
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-bugs

"Andrey G." <andvgal(at)gmail(dot)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

In response to

Browse pgsql-bugs by date

  From Date Subject
Next Message Sunil Vedd 2010-11-19 13:11:19 BUG #5758: Error during backup
Previous Message Andrey G. 2010-11-18 19:59:18 Re: BUG #5757: PL/PGSQL composite variable field error reporting