From: Bruce Momjian <bruce@momjian.us>
To: Tom Lane <tgl@sss.pgh.pa.us>
Cc: pgsql-committers@lists.postgresql.org
Subject: Re: pgsql: revert removal of hex_decode() from ecpg from commit c3826f831e
Date: Thu, 24 Dec 2020 18:31:25 -0500
Message-ID: <20201224233125.GB21105@momjian.us> (raw)
In-Reply-To: <1080732.1608852356@sss.pgh.pa.us>
References: <E1ksZvZ-0007Gv-EX@gemulon.postgresql.org>
<1080732.1608852356@sss.pgh.pa.us>
On Thu, Dec 24, 2020 at 06:25:56PM -0500, Tom Lane wrote:
> Bruce Momjian <bruce@momjian.us> 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().
I should have realized it was the _lib_ calling it, and not ecpg itself.
--
Bruce Momjian <bruce@momjian.us> https://momjian.us
EnterpriseDB https://enterprisedb.com
The usefulness of a cup is in its emptiness, Bruce Lee
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Reply to all the recipients from your mail client; the link fills in
the headers below: reply via email
Some clients, webmail especially, drop In-Reply-To and References from
a link, and the reply then starts a new thread: use the mbox below.
To: pgsql-committers@postgresql.org
Cc: bruce@momjian.us, tgl@sss.pgh.pa.us
Subject: Re: pgsql: revert removal of hex_decode() from ecpg from commit c3826f831e
In-Reply-To: <20201224233125.GB21105@momjian.us>
References: <E1ksZvZ-0007Gv-EX@gemulon.postgresql.org> <1080732.1608852356@sss.pgh.pa.us> <20201224233125.GB21105@momjian.us>
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox