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 1ksZzc-0000tW-G1 for pgsql-committers@arkaria.postgresql.org; Thu, 24 Dec 2020 23:26:00 +0000 Received: from localhost ([127.0.0.1] helo=malur.postgresql.org) by malur.postgresql.org with esmtp (Exim 4.92) (envelope-from ) id 1ksZza-0008GG-UJ for pgsql-committers@arkaria.postgresql.org; Thu, 24 Dec 2020 23:25:58 +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 1ksZza-0008G9-Ok for pgsql-committers@lists.postgresql.org; Thu, 24 Dec 2020 23:25:58 +0000 Received: from sss.pgh.pa.us ([66.207.139.130]) by makus.postgresql.org with esmtps (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1ksZzY-00078M-Px for pgsql-committers@lists.postgresql.org; Thu, 24 Dec 2020 23:25:57 +0000 Received: from sss1.sss.pgh.pa.us (localhost [127.0.0.1]) by sss.pgh.pa.us (8.15.2/8.15.2) with ESMTP id 0BONPu1c1080733; Thu, 24 Dec 2020 18:25:56 -0500 From: Tom Lane To: Bruce Momjian cc: pgsql-committers@lists.postgresql.org Subject: Re: pgsql: revert removal of hex_decode() from ecpg from commit c3826f831e In-reply-to: References: Comments: In-reply-to Bruce Momjian message dated "Thu, 24 Dec 2020 23:21:49 +0000" MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-ID: <1080731.1608852355.1@sss.pgh.pa.us> Date: Thu, 24 Dec 2020 18:25:56 -0500 Message-ID: <1080732.1608852356@sss.pgh.pa.us> List-Id: List-Help: List-Subscribe: List-Post: List-Owner: List-Archive: Precedence: bulk Bruce Momjian writes: > revert removal of hex_decode() from ecpg from commit c3826f831e > ecpglib on certain platforms can't handle the pg_log_fatal calls from > libraries. This was reported by the buildfarm. It needs a refactoring > and return value change if it is later removed. Just for the record: even without the link failures, this was a pretty awful idea. ecpglib has no business calling pg_log_fatal(), much less exit(). regards, tom lane