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 1p2FQe-00013F-1M for pgsql-hackers@arkaria.postgresql.org; Mon, 05 Dec 2022 17:38:56 +0000 Received: from localhost ([127.0.0.1] helo=malur.postgresql.org) by malur.postgresql.org with esmtp (Exim 4.92) (envelope-from ) id 1p2FQc-0003kh-Vj for pgsql-hackers@arkaria.postgresql.org; Mon, 05 Dec 2022 17:38:54 +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 1p2FQc-0003kW-MP for pgsql-hackers@lists.postgresql.org; Mon, 05 Dec 2022 17:38:54 +0000 Received: from mail-qt1-x830.google.com ([2607:f8b0:4864:20::830]) by magus.postgresql.org with esmtps (TLS1.3:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.92) (envelope-from ) id 1p2FQW-0005YE-CJ for pgsql-hackers@lists.postgresql.org; Mon, 05 Dec 2022 17:38:54 +0000 Received: by mail-qt1-x830.google.com with SMTP id fz10so11951205qtb.3 for ; Mon, 05 Dec 2022 09:38:47 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=joeconway.com; s=google; h=content-transfer-encoding:in-reply-to:from:references:cc:to :content-language:subject:user-agent:mime-version:date:message-id :from:to:cc:subject:date:message-id:reply-to; bh=Ggj69dto4WBQYx09t/26hMFDZY9yxud163W/YYXpeTE=; b=V3HbvtzTk1ibvdvomyrXtXTNRld7WNuVD5KPzJfDqK5/o875ZQ0Qusdy+bTw3FlMHg TDpFU4GJjtOVUckVi3qJj2a99BVYUsd9AkN80JidIEgUIGZJXKZRuzM6ELl18n0tdr1E GRyF+rJ8OczRrqHn9IyED9jS9se8JXRGa8eXTWq6ppHtnPJ1lgjsasS4YtzQDcJtXNSV IkiyN2lEwzwqSVbXVzlJjX+mmZbyy7srf/4FYGGdXbGW2K90z2Yy4peEu4AjY7S5CQKs zXJlBKe721Y8oSTBo2vArjNXvOeZZdJjmoB+32bTJ0npkQ9TY1zmMsH/rbqZ0f7gq3Wb pawA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=content-transfer-encoding:in-reply-to:from:references:cc:to :content-language:subject:user-agent:mime-version:date:message-id :x-gm-message-state:from:to:cc:subject:date:message-id:reply-to; bh=Ggj69dto4WBQYx09t/26hMFDZY9yxud163W/YYXpeTE=; b=4g+XxJ1XDiTaVYm/B5FSq0wnxQv+O/5pz48uVLT9Djo0ZP4xUGnbTjmj+lx+2Hnbcr 0RuzkazAN4y+gEZrkXyFcL3KP7HR1Ndd6Zhun0sWW9E9OROhsUvpyYVErySDkX6p5cS4 sjoSO+EFU9HxxKpuSN9vUpqqw2MtUYwmOynRWNO74BLI8MQK+7+6YQNygMIE6ZHJ0Jkq 1hXQ/Y1/IqhWxz1a+yLw01NfuGo6CoC6H1nOg6ry/coWHKvxM7gTQmXSiqEVZ0kimgFi FAaFuVWJvlb+hdLwctdodPxN0f5k6HrFwtCkJACv0g1mqXktWyn6Yp+fSAvkTb08bYkJ t9tA== X-Gm-Message-State: ANoB5pm4eb7SmeKEKNd1SKdtkkT9LdCPSCpq6e6GSgX606FF07crfT1D PzDdxwm0iDXjTxTfwxTCjvPWxw== X-Google-Smtp-Source: AA0mqf7Owd0Y3igtpOyRX5U0uw578Zvx6rL6HbjDw2hedlXy6KlqZAacHWuMsvIjOyyrjElf9XhIIQ== X-Received: by 2002:a05:622a:5144:b0:3a7:e8f6:a7f7 with SMTP id ew4-20020a05622a514400b003a7e8f6a7f7mr1738887qtb.571.1670261926497; Mon, 05 Dec 2022 09:38:46 -0800 (PST) Received: from [192.168.4.41] (162-239-31-113.lightspeed.dybhfl.sbcglobal.net. [162.239.31.113]) by smtp.gmail.com with ESMTPSA id ge12-20020a05622a5c8c00b003a6a7a20575sm4674306qtb.73.2022.12.05.09.38.45 (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Mon, 05 Dec 2022 09:38:46 -0800 (PST) Message-ID: Date: Mon, 5 Dec 2022 12:38:45 -0500 MIME-Version: 1.0 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:102.0) Gecko/20100101 Thunderbird/102.4.2 Subject: Re: Error-safe user functions Content-Language: en-US To: Robert Haas , Tom Lane Cc: Andrew Dunstan , Corey Huinker , Nikita Glukhov , PostgreSQL Hackers References: <3bbbb0df-7382-bf87-9737-340ba096e034@postgrespro.ru> <1695760.1669923671@sss.pgh.pa.us> <1703871.1669927782@sss.pgh.pa.us> <1721519.1669934025@sss.pgh.pa.us> <1925585.1669990324@sss.pgh.pa.us> <02cf2f81-a776-37ff-291c-100480722a5c@dunslane.net> <2503569.1670104001@sss.pgh.pa.us> <3304244.1670256567@sss.pgh.pa.us> <3311570.1670260484@sss.pgh.pa.us> <3319836.1670261262@sss.pgh.pa.us> From: Joe Conway In-Reply-To: Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit List-Id: List-Help: List-Subscribe: List-Post: List-Owner: List-Archive: Archived-At: Precedence: bulk On 12/5/22 12:35, Robert Haas wrote: > On Mon, Dec 5, 2022 at 12:27 PM 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? > > eseterr or errsave seem totally fine to me, FWIW. +1 > I would probably choose a more verbose name if I were doing it, but I > do get the point that keeping line lengths reasonable is important, > and if someone were to accuse me of excessive prolixity, I would be > unable to mount much of a defense. prolixity -- nice word! I won't comment on its applicability to you in particular ;-P -- Joe Conway PostgreSQL Contributors Team RDS Open Source Databases Amazon Web Services: https://aws.amazon.com