Received: from malur.postgresql.org ([217.196.149.56]) by arkaria.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_CBC_SHA1:256) (Exim 4.92) (envelope-from ) id 1j9G7d-0003k7-Mn for pgsql-general@arkaria.postgresql.org; Tue, 03 Mar 2020 22:34:41 +0000 Received: from localhost ([127.0.0.1] helo=malur.postgresql.org) by malur.postgresql.org with esmtp (Exim 4.89) (envelope-from ) id 1j9G7c-0000LE-Fe for pgsql-general@arkaria.postgresql.org; Tue, 03 Mar 2020 22:34:40 +0000 Received: from makus.postgresql.org ([2001:4800:3e1:1::229]) by malur.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_CBC_SHA1:256) (Exim 4.89) (envelope-from ) id 1j9G7c-0000Hm-2L for pgsql-general@lists.postgresql.org; Tue, 03 Mar 2020 22:34:40 +0000 Received: from mailbackend.panix.com ([166.84.1.89]) by makus.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1j9G7Z-0004SY-Te for pgsql-general@lists.postgresql.org; Tue, 03 Mar 2020 22:34:38 +0000 Received: from panix5.panix.com (panix5.panix.com [166.84.1.5]) by mailbackend.panix.com (Postfix) with ESMTP id 48XBdn2z47znjZ for ; Tue, 3 Mar 2020 17:34:37 -0500 (EST) Received: by panix5.panix.com (Postfix, from userid 17622) id 48XBdn1Rj4zfYm; Tue, 3 Mar 2020 17:34:37 -0500 (EST) Date: Tue, 3 Mar 2020 17:34:37 -0500 From: stan To: pgsql-general@lists.postgresql.org Subject: Re: elog() plperl function Message-ID: <20200303223437.GA11409@panix.com> References: <20200303223132.GA21069@panix.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20200303223132.GA21069@panix.com> X-Editor: gVim List-Id: List-Help: List-Subscribe: List-Post: List-Owner: List-Archive: Precedence: bulk On Tue, Mar 03, 2020 at 05:31:32PM -0500, stan wrote: > I did a Google search for using the RAISE functionality in plperl, and all > the answers I see point to the elog built in function. Looking at this it > appears to me, I can do things like RAISE NOTICE. But what if I want to do, > say, a RAISE EXCEPTION? Or do I need to handle that with the rerun AND an > elog()? > Never mind, I see in the docs how it works. -- "They that would give up essential liberty for temporary safety deserve neither liberty nor safety." -- Benjamin Franklin