X-Original-To: pgsql-patches-postgresql.org@localhost.postgresql.org Received: from localhost (unknown [200.46.204.144]) by svr1.postgresql.org (Postfix) with ESMTP id 369905294D for ; Mon, 4 Jul 2005 04:09:06 -0300 (ADT) Received: from svr1.postgresql.org ([200.46.204.71]) by localhost (av.hub.org [200.46.204.144]) (amavisd-new, port 10024) with ESMTP id 53207-05 for ; Mon, 4 Jul 2005 07:09:04 +0000 (GMT) Received: from mailbox.samurai.com (mailbox.samurai.com [205.207.28.82]) by svr1.postgresql.org (Postfix) with ESMTP id A8E73528CB for ; Mon, 4 Jul 2005 04:09:03 -0300 (ADT) Received: from localhost (mailbox.samurai.com [205.207.28.82]) by mailbox.samurai.com (Postfix) with ESMTP id 32B0818CF93; Mon, 4 Jul 2005 03:09:03 -0400 (EDT) Received: from mailbox.samurai.com ([205.207.28.82]) by localhost (mailbox.samurai.com [205.207.28.82]) (amavisd-new, port 10024) with LMTP id 91445-01-6; Mon, 4 Jul 2005 03:08:29 -0400 (EDT) Received: from [61.88.101.19] (unknown [61.88.101.19]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by mailbox.samurai.com (Postfix) with ESMTP id 229E418D055; Mon, 4 Jul 2005 03:07:49 -0400 (EDT) Message-ID: <42C8E043.1010303@samurai.com> Date: Mon, 04 Jul 2005 17:07:47 +1000 From: Neil Conway User-Agent: Debian Thunderbird 1.0.2 (X11/20050602) X-Accept-Language: en-us, en MIME-Version: 1.0 To: Pavel Stehule Cc: pgsql-patches@postgresql.org Subject: Re: User's exception plpgsql References: In-Reply-To: Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-Virus-Scanned: by amavisd-new at mailbox.samurai.com X-Virus-Scanned: by amavisd-new at hub.org X-Spam-Status: No, hits=0.016 tagged_above=0 required=5 tests=AWL X-Spam-Level: X-Archive-Number: 200507/79 X-Sequence-Number: 16419 Pavel Stehule wrote: > Per small recent discussion I corrected patch user's exception. I'll review and apply this in the next day or so. > Next ToDo (needs discussion): > + Optional message in raise stmt for user's or system exception > raise exception division_by_zero; > + Possibility rethrown exception > raise; Both sound pretty reasonable to me. -Neil