pg.ddx.io pgsql-committers@postgresql.org mailing list archive
help / color / mirror / Atom feedpgsql: revert removal of hex_decode() from ecpg from commit c3826f831e
3+ messages / 2 participants
[nested] [flat]
* pgsql: revert removal of hex_decode() from ecpg from commit c3826f831e
@ 2020-12-24 23:21 Bruce Momjian <bruce@momjian.us>
0 siblings, 1 reply; 3+ messages in thread
From: Bruce Momjian @ 2020-12-24 23:21 UTC (permalink / raw)
To: pgsql-committers@lists.postgresql.org
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.
Backpatch-through: master
Branch
------
master
Details
-------
https://git.postgresql.org/pg/commitdiff/558a6e8e21367dae9a294291337be10a8a4afd0a
Modified Files
--------------
src/interfaces/ecpg/ecpglib/data.c | 52 +++++++++++++++++++++++++++++++++++++-
1 file changed, 51 insertions(+), 1 deletion(-)
^ permalink raw reply [nested|flat] 3+ messages in thread
* Re: pgsql: revert removal of hex_decode() from ecpg from commit c3826f831e
@ 2020-12-24 23:25 Tom Lane <tgl@sss.pgh.pa.us>
parent: Bruce Momjian <bruce@momjian.us>
0 siblings, 1 reply; 3+ messages in thread
From: Tom Lane @ 2020-12-24 23:25 UTC (permalink / raw)
To: Bruce Momjian <bruce@momjian.us>; +Cc: pgsql-committers@lists.postgresql.org
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().
regards, tom lane
^ permalink raw reply [nested|flat] 3+ messages in thread
* Re: pgsql: revert removal of hex_decode() from ecpg from commit c3826f831e
@ 2020-12-24 23:31 Bruce Momjian <bruce@momjian.us>
parent: Tom Lane <tgl@sss.pgh.pa.us>
0 siblings, 0 replies; 3+ messages in thread
From: Bruce Momjian @ 2020-12-24 23:31 UTC (permalink / raw)
To: Tom Lane <tgl@sss.pgh.pa.us>; +Cc: pgsql-committers@lists.postgresql.org
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
^ permalink raw reply [nested|flat] 3+ messages in thread
end of thread, other threads:[~2020-12-24 23:31 UTC | newest]
Thread overview: 3+ messages (download: mbox mbox.gz follow: Atom feed)
-- links below jump to the message on this page --
2020-12-24 23:21 pgsql: revert removal of hex_decode() from ecpg from commit c3826f831e Bruce Momjian <bruce@momjian.us>
2020-12-24 23:25 ` Tom Lane <tgl@sss.pgh.pa.us>
2020-12-24 23:31 ` Bruce Momjian <bruce@momjian.us>
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