"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