Received: from maia.hub.org (maia-5.hub.org [200.46.204.29]) by mail.postgresql.org (Postfix) with ESMTP id A48031337B8E for ; Thu, 18 Nov 2010 18:22:13 -0400 (AST) Received: from mail.postgresql.org ([200.46.204.86]) by maia.hub.org (mx1.hub.org [200.46.204.29]) (amavisd-maia, port 10024) with ESMTP id 32141-01 for ; Thu, 18 Nov 2010 22:22:07 +0000 (UTC) X-Greylist: from auto-whitelisted by SQLgrey-1.7.6 Received: from sss.pgh.pa.us (sss.pgh.pa.us [66.207.139.130]) by mail.postgresql.org (Postfix) with ESMTP id 1A7F3133616B for ; Thu, 18 Nov 2010 18:22:05 -0400 (AST) Received: from sss2.sss.pgh.pa.us (tgl@localhost [127.0.0.1]) by sss.pgh.pa.us (8.14.2/8.14.2) with ESMTP id oAIMM2ut012160; Thu, 18 Nov 2010 17:22:02 -0500 (EST) To: "Andrey G." cc: pgsql-bugs@postgresql.org Subject: Re: BUG #5757: PL/PGSQL composite variable field error reporting In-reply-to: References: <201011181649.oAIGn9AP060902@wwwmaster.postgresql.org> <3851.1290102809@sss.pgh.pa.us> Comments: In-reply-to "Andrey G." message dated "Thu, 18 Nov 2010 21:59:18 +0200" Date: Thu, 18 Nov 2010 17:22:02 -0500 Message-ID: <12159.1290118922@sss.pgh.pa.us> From: Tom Lane X-Virus-Scanned: Maia Mailguard 1.0.1 X-Spam-Status: No, hits=-1.91 tagged_above=-5 required=5 tests=BAYES_00=-1.9, T_RP_MATCHES_RCVD=-0.01 X-Spam-Level: X-Archive-Number: 201011/135 X-Sequence-Number: 28715 "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! regards, tom lane