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 1klBFa-0005Sz-NK for pgsql-hackers@arkaria.postgresql.org; Fri, 04 Dec 2020 13:35:54 +0000 Received: from localhost ([127.0.0.1] helo=malur.postgresql.org) by malur.postgresql.org with esmtp (Exim 4.92) (envelope-from ) id 1klBFZ-00088K-KQ for pgsql-hackers@arkaria.postgresql.org; Fri, 04 Dec 2020 13:35:53 +0000 Received: from makus.postgresql.org ([2001:4800:3e1:1::229]) by malur.postgresql.org with esmtps (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1klBFZ-000889-DB for pgsql-hackers@lists.postgresql.org; Fri, 04 Dec 2020 13:35:53 +0000 Received: from forward3-smtp.messagingengine.com ([66.111.4.237]) by makus.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1klBFW-0007bw-Ur for pgsql-hackers@postgresql.org; Fri, 04 Dec 2020 13:35:51 +0000 Received: from compute3.internal (compute3.nyi.internal [10.202.2.43]) by mailforward.nyi.internal (Postfix) with ESMTP id 27BA91943C13; Fri, 4 Dec 2020 08:35:50 -0500 (EST) Received: from mailfrontend2 ([10.202.2.163]) by compute3.internal (MEProxy); Fri, 04 Dec 2020 08:35:50 -0500 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d= messagingengine.com; h=cc:content-transfer-encoding:content-type :date:from:in-reply-to:message-id:mime-version:references :subject:to:x-me-proxy:x-me-proxy:x-me-sender:x-me-sender :x-sasl-enc; s=fm1; bh=5jQG68Kcyt5yZiZfm/N2GkYzkVmyeLDV6+KZ+9Os0 VQ=; b=W6W33pQkxqLJcAnf0hMZ5YC6XC5TnOl1boH7lcB0KCOT5vJFZpDcvIikz lORvLyEfby1zysQd5SpWAv+7D9wUCXt2kPO09srCWeTG5SXSxHuQ9PydbZc3JF7A 8Gp5LADqcTbuR5cyn9Vsxp6op9CZStew5VSDqyMI1yJzFQOdJVdVBNJ0CevgbYOj DAb7+YHkIM8favQHo1T1vyKMscQBd3qAFntlx3zi6ul7MwdTn6d2laBFZD2ExB9A h11Dtrf0jWw8aLqgw6xbFowvWkPXDbp+dhFzspjq6IALOMnk0eu3pB2+Ei6crX5G nuO9dXaQ61CiMl7Xpx6RMAQHyCkYg== X-ME-Sender: X-ME-Proxy-Cause: gggruggvucftvghtrhhoucdtuddrgedujedrudeikedgheefucetufdoteggodetrfdotf fvucfrrhhofhhilhgvmecuhfgrshhtofgrihhlpdfqfgfvpdfurfetoffkrfgpnffqhgen uceurghilhhouhhtmecufedttdenucesvcftvggtihhpihgvnhhtshculddquddttddmne cujfgurhepuffvfhfhohfkffgfgggjtgfgsehtjeertddtfeejnecuhfhrohhmpefrvght vghrucfgihhsvghnthhrrghuthcuoehpvghtvghrrdgvihhsvghnthhrrghuthesvghnth gvrhhprhhishgvuggsrdgtohhmqeenucggtffrrghtthgvrhhnpeefgefgtdejleevhfff veeghfejudevtdehkedugeejleefieffffevgeettdetgfenucffohhmrghinhepphhosh htghhrvghsqhhlrdhorhhgnecukfhppeekjedrudejjedrjedvrddugedvnecuvehluhhs thgvrhfuihiivgeptdenucfrrghrrghmpehmrghilhhfrhhomhepphgvthgvrhdrvghish gvnhhtrhgruhhtsegvnhhtvghrphhrihhsvggusgdrtghomh X-ME-Proxy: Received: from april.pezone.net (p57b1488e.dip0.t-ipconnect.de [87.177.72.142]) by mail.messagingengine.com (Postfix) with ESMTPA id E0BDB108005F; Fri, 4 Dec 2020 08:35:48 -0500 (EST) Subject: Re: convert elog(LOG) calls to ereport To: Noah Misch References: <92d6f545-5102-65d8-3c87-489f71ea0a37@enterprisedb.com> <20201203075530.GA866006@rfd.leadboat.com> Cc: pgsql-hackers From: Peter Eisentraut Organization: EnterpriseDB Message-ID: <3156a4a1-bd36-8422-b312-19dfcf2f6482@enterprisedb.com> Date: Fri, 4 Dec 2020 14:35:48 +0100 User-Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.14; rv:52.0) Gecko/20100101 Thunderbird/52.9.1 MIME-Version: 1.0 In-Reply-To: <20201203075530.GA866006@rfd.leadboat.com> Content-Type: text/plain; charset=utf-8; format=flowed Content-Language: en-US Content-Transfer-Encoding: 7bit List-Id: List-Help: List-Subscribe: List-Post: List-Owner: List-Archive: Precedence: bulk On 2020-12-03 08:55, Noah Misch wrote: > For the changes I didn't mention explicitly (most of them), I'm -0.5. Many of > them "can't happen", use source code terms of art, and/or breach guideline > "Avoid mentioning called function names, either; instead say what the code was > trying to do" (https://www.postgresql.org/docs/devel/error-style-guide.html). Thanks for the detailed feedback. I dialed back some of the changes based on your feedback.