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 1p2Eib-0007Yj-74 for pgsql-hackers@arkaria.postgresql.org; Mon, 05 Dec 2022 16:53:25 +0000 Received: from localhost ([127.0.0.1] helo=malur.postgresql.org) by malur.postgresql.org with esmtp (Exim 4.92) (envelope-from ) id 1p2Eia-0003Mh-2x for pgsql-hackers@arkaria.postgresql.org; Mon, 05 Dec 2022 16:53:24 +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 1p2EiZ-0003KX-Cd for pgsql-hackers@lists.postgresql.org; Mon, 05 Dec 2022 16:53:23 +0000 Received: from mail-qk1-x734.google.com ([2607:f8b0:4864:20::734]) by magus.postgresql.org with esmtps (TLS1.3:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.92) (envelope-from ) id 1p2EiW-00059O-F8 for pgsql-hackers@lists.postgresql.org; Mon, 05 Dec 2022 16:53:23 +0000 Received: by mail-qk1-x734.google.com with SMTP id x24so4777583qkf.5 for ; Mon, 05 Dec 2022 08:53:19 -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=cozScbd2blPSUSrR6GqdmNwZuXz5f6W/MwM0Ay9UGWw=; b=F2P0KvqmHQTcZoAYXLNVQOQqxrbziH0Nd5evbk8hSUUNGCNZj6PDkO/ST2/y1moH1K aXUpBRBYWZYemDVcunZyZoLlTlz4uFWQ9YDgG89zbLDnvbPeMH8VmsjRhjuetOyoO7ui 0UbZe6kf97n+XeA0rWRnelYfDgJSXfBL5JKXuiZx8+BZk7f4MmTVpOJC6oeH8PmvzpmO Ka5yHtgbtvSzuy3AsSeWXKRmdFTaz6NINGd282ZGcnORHqy/2Nzbme6Ox20GkfA0/Qc2 KV2LGJSB4oUh2yp2tlpYEF5C0eGvqdAj3W1gZaoc6mjfFnZNvc4huSGnm2TYko9xVjyo 8h7g== 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=cozScbd2blPSUSrR6GqdmNwZuXz5f6W/MwM0Ay9UGWw=; b=FabeNFgRCUwF02kcVrqgK59dquQY5FNWSb2xFl6DyRfdUj5CfAXDFFysa9uTgCSjDS bodxWBUhOz8O09PT+DO1RHX4lSmxm230BH3vme8RLsEMQFaJHPs349N0AJZEjUxAo3x7 8w3IsrE4I/boIayiVwZhOT9I2ne8oeHhDoHgU4QvHy+82MWWFbgU7AK6nRiXVRr7kErx spVWgUIgV7pRJZhEiCaEnQeWkgHRJLPDc2WajGbMjEAhzII5blZjIbv95jCKq4E8GiAk 9MKNDO2mO4uDsetq/IyEnZDP1eIFTJe9Rv1P7CjGIxdoWLhnGq5h13UwqrVRWOdRjISY MNjw== X-Gm-Message-State: ANoB5pkntkqjGfnBMRKU2MeUD193u2TjJlXXvB6isxEtSa1tY87247zs shMIIhpuKvIShYDL4Q4xR7qD9A== X-Google-Smtp-Source: AA0mqf6c9PqjBVFXIjqEmRNC6CZ6EYHFTQXCyqNiqGanDDycpiTfTqvrlZ0v9rLTiuuGr1g6nyJ4ZA== X-Received: by 2002:a37:b883:0:b0:6fa:326e:c42f with SMTP id i125-20020a37b883000000b006fa326ec42fmr56626849qkf.271.1670259198566; Mon, 05 Dec 2022 08:53:18 -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 bj31-20020a05620a191f00b006ed61f18651sm12846908qkb.16.2022.12.05.08.53.18 (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Mon, 05 Dec 2022 08:53:18 -0800 (PST) Message-ID: <4e3eb819-6458-a29c-176b-37a82e2b92bd@joeconway.com> Date: Mon, 5 Dec 2022 11:53:17 -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: Andrew Dunstan , Robert Haas , Tom Lane Cc: Corey Huinker , Nikita Glukhov , PostgreSQL Hackers References: <3bbbb0df-7382-bf87-9737-340ba096e034@postgrespro.ru> <3049337.1669008405@sss.pgh.pa.us> <469338a3-da38-160f-23b9-813c261bc1d6@dunslane.net> <1677334.1669918475@sss.pgh.pa.us> <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> From: Joe Conway In-Reply-To: Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 8bit List-Id: List-Help: List-Subscribe: List-Post: List-Owner: List-Archive: Archived-At: Precedence: bulk On 12/5/22 11:36, Andrew Dunstan wrote: > > On 2022-12-05 Mo 11:20, Robert Haas wrote: >> On Mon, Dec 5, 2022 at 11:09 AM Tom Lane wrote: >>> Robert Haas writes: >>>> On Sat, Dec 3, 2022 at 10:57 PM Corey Huinker wrote: >>>>> 2. ereturn_* => errfeedback / error_feedback / feedback >>>> Oh, I like that, especially errfeedback. >>> efeedback? But TBH I do not think any of these are better than ereturn. >> I do. Having a macro name that is "return" plus one character is going >> to make people think that it returns. I predict that if you insist on >> using that name people are still going to be making mistakes based on >> that confusion 10 years from now. >> > > OK, I take both this point and Tom's about trying to keep it the same > length. So we need something that's  7 letters, doesn't say 'return' and > preferably begins with 'e'. I modestly suggest 'eseterr', or if we like > the 'feedback' idea 'efeedbk'. Maybe eretort? -- Joe Conway PostgreSQL Contributors Team RDS Open Source Databases Amazon Web Services: https://aws.amazon.com