X-Original-To: pgsql-sql@postgresql.org Received: from spampd.localdomain (postgresql.org [64.49.215.8]) by postgresql.org (Postfix) with ESMTP id 3EFD34763B5 for ; Sat, 19 Apr 2003 12:34:27 -0400 (EDT) Received: from sss.pgh.pa.us (unknown [192.204.191.242]) by postgresql.org (Postfix) with ESMTP id 320CF4763A1 for ; Sat, 19 Apr 2003 12:34:18 -0400 (EDT) Received: from sss2.sss.pgh.pa.us (tgl@localhost [127.0.0.1]) by sss.pgh.pa.us (8.12.9/8.12.9) with ESMTP id h3JGYNU6022187; Sat, 19 Apr 2003 12:34:23 -0400 (EDT) To: Rajesh Kumar Mallah Cc: pgsql-sql@postgresql.org Subject: Re: replicable problem with PL/Perl In-reply-to: <200304191216.46925.mallah@trade-india.com> References: <200304191216.46925.mallah@trade-india.com> Comments: In-reply-to Rajesh Kumar Mallah message dated "Sat, 19 Apr 2003 12:16:46 +0530" Date: Sat, 19 Apr 2003 12:34:23 -0400 Message-ID: <22186.1050770063@sss.pgh.pa.us> From: Tom Lane X-Spam-Status: No, hits=-29.1 required=5.0 tests=BAYES_00,EMAIL_ATTRIBUTION,IN_REP_TO,REFERENCES, REPLY_WITH_QUOTES autolearn=ham version=2.50 X-Spam-Level: X-Spam-Checker-Version: SpamAssassin 2.50 (1.173-2003-02-20-exp) X-Archive-Number: 200304/303 X-Sequence-Number: 13004 Rajesh Kumar Mallah writes: > if one pl/perl function raises an ERROR even other pl/perl > functions stop working and keep rasing the previous error This was reported before: http://archives.postgresql.org/pgsql-hackers/2002-10/msg00170.php I'm not convinced that John's proposed fix is correct though (see followup discussion). Someone should bring up the issue with some Perl gurus and see whether clearing $@ is really an appropriate thing to do. regards, tom lane