Received: from malur.postgresql.org ([217.196.149.56]) by arkaria.postgresql.org with esmtps (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1p2FUI-0001Bx-CU for pgsql-hackers@arkaria.postgresql.org; Mon, 05 Dec 2022 17:42:42 +0000 Received: from localhost ([127.0.0.1] helo=malur.postgresql.org) by malur.postgresql.org with esmtp (Exim 4.92) (envelope-from ) id 1p2FUH-0006cf-AO for pgsql-hackers@arkaria.postgresql.org; Mon, 05 Dec 2022 17:42:41 +0000 Received: from magus.postgresql.org ([2a02:c0:301:0:ffff::29]) by malur.postgresql.org with esmtps (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1p2FUH-0006cV-18 for pgsql-hackers@lists.postgresql.org; Mon, 05 Dec 2022 17:42:41 +0000 Received: from wout2-smtp.messagingengine.com ([64.147.123.25]) by magus.postgresql.org with esmtps (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1p2FUE-0005b8-Ep for pgsql-hackers@lists.postgresql.org; Mon, 05 Dec 2022 17:42:40 +0000 Received: from compute5.internal (compute5.nyi.internal [10.202.2.45]) by mailout.west.internal (Postfix) with ESMTP id 020D432009C4; Mon, 5 Dec 2022 12:42:34 -0500 (EST) Received: from mailfrontend2 ([10.202.2.163]) by compute5.internal (MEProxy); Mon, 05 Dec 2022 12:42:35 -0500 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d= messagingengine.com; h=cc:cc:content-transfer-encoding :content-type:date:date:feedback-id:feedback-id:from:from :in-reply-to:in-reply-to:message-id:mime-version:reply-to:sender :subject:subject:to:to:x-me-proxy:x-me-proxy:x-me-sender :x-me-sender:x-sasl-enc; s=fm1; t=1670262154; x=1670348554; bh=T ntldlxAw1RI9G16GGxd8iI5zZeu08xlGQD/OUZzRxM=; b=FZ2huQVlgfMhLGDoO HKpUqCJ8VkkUoIuzaGwXzfepLSEo38aJ84TmkM49Hw9i8TRTM0b2aELbl9IfB4qM FJndUfUztYnaHc/BZqS+9eeMfp+PiP37nHIeVoYDUb22k8i1YWc9sfOSdZmzI/Lg ADR0uMswgQLp08oRDR4XwkSWvjBDdN+FzkhxD8KE7gG+eZb4/gsWH+h7XsjnRFuz NyG0vS04v87j5dM+oJ/bbIbECrfdy1pUUAOy4K46+YjjGwoQvwBzh365+wTRQvFm a6G7JSYFQ/N4QcpQNGNMI8TfLYuBX5s4xZow57ZS7U3+FQNR3g9aFKqD0rvfsb8k ybARw== X-ME-Sender: X-ME-Received: X-ME-Proxy-Cause: gggruggvucftvghtrhhoucdtuddrgedvhedrudeggddutdegucetufdoteggodetrfdotf fvucfrrhhofhhilhgvmecuhfgrshhtofgrihhlpdfqfgfvpdfurfetoffkrfgpnffqhgen uceurghilhhouhhtmecufedttdenucesvcftvggtihhpihgvnhhtshculddquddttddmne cujfgurhepfffhvfevuffkgggtugfgjgesthekredttddtjeenucfhrhhomheptehlvhgr rhhoucfjvghrrhgvrhgruceorghlvhhhvghrrhgvsegrlhhvhhdrnhhoqdhiphdrohhrgh eqnecuggftrfgrthhtvghrnhepgfdtgeelgefgffdtieduudffhfevkefgudefteehgfet hfekvdegjeelhfethedvnecuffhomhgrihhnpegvnhhtvghrphhrihhsvggusgdrtghomh dpphhoshhtghhrvghsqhhlrdhorhhgnecuvehluhhsthgvrhfuihiivgeptdenucfrrghr rghmpehmrghilhhfrhhomheprghlvhhhvghrrhgvsegrlhhvhhdrnhhoqdhiphdrohhrgh X-ME-Proxy: Feedback-ID: ia2694551:Fastmail Received: by mail.messagingengine.com (Postfix) with ESMTPA; Mon, 5 Dec 2022 12:42:33 -0500 (EST) Received: by perhan.alvh.no-ip.org (Postfix, from userid 1000) id 89619E98; Mon, 5 Dec 2022 18:42:31 +0100 (CET) Date: Mon, 5 Dec 2022 18:42:31 +0100 From: Alvaro Herrera To: Tom Lane Cc: Joe Conway , Andrew Dunstan , Robert Haas , Corey Huinker , Nikita Glukhov , PostgreSQL Hackers Subject: Re: Error-safe user functions Message-ID: <20221205174231.6wpmbuxafnfzlbuh@alvherre.pgsql> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Disposition: inline Content-Transfer-Encoding: 8bit In-Reply-To: <3319836.1670261262@sss.pgh.pa.us> List-Id: List-Help: List-Subscribe: List-Post: List-Owner: List-Archive: Archived-At: Precedence: bulk On 2022-Dec-05, Tom Lane wrote: > I wrote: > > Nah, it's so close to ereport that it looks like a typo. eseterr isn't > > awful, perhaps. Or maybe errXXXX, but I've not thought of suitable XXXX. > > ... "errsave", maybe? IMO eseterr is quite awful while errsave is not, so here goes my vote for the latter. -- Álvaro Herrera Breisgau, Deutschland — https://www.EnterpriseDB.com/ Tom: There seems to be something broken here. Teodor: I'm in sackcloth and ashes... Fixed. http://archives.postgresql.org/message-id/482D1632.8010507@sigaev.ru