| From: | Michael Paquier <michael(at)paquier(dot)xyz> |
|---|---|
| To: | Daniel Gustafsson <daniel(at)yesql(dot)se> |
| Cc: | VASUKI M <vasukim1992002(at)gmail(dot)com>, Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>, BharatDB <bharatdbpg(at)gmail(dot)com>, torsten(dot)rupp(at)gmx(dot)net, pgsql-bugs(at)lists(dot)postgresql(dot)org, byavuz81(at)gmail(dot)com |
| Subject: | Re: BUG #19095: Test if function exit() is used fail when linked static |
| Date: | 2025-12-04 00:32:03 |
| Message-ID: | aTDWg-ezihyoelN3@paquier.xyz |
| Views: | Whole Thread | Raw Message | Download mbox | Resend email |
| Thread: | |
| Lists: | pgsql-bugs pgsql-hackers |
On Thu, Dec 04, 2025 at 12:33:55AM +0100, Daniel Gustafsson wrote:
> Thanks for the update. This patch builds on previous patches posted in the
> thread which makes it more complicated to review. Can you please post a full
> squashed patch against master so we can be absolutely sure we are looking at
> the tree in the same state that you are.
Yeah, I was just playing with this patch a little bit this morning,
and reworked it as the attached, adjusting a bunch of stuff inside it.
The main complaint that I have with v4 is the fact that the new check
for pthread_exit() was not split as a patch of its own, being hidden
in the perl script introduced.
Saying that, passing the path of nm as argument to the perl script is
something that feels OK here, as does the coverage check added twice
for meson and Makefile, rather than relying on enable_coverage in an
ENV. Feel free to comment on these points, of course.
There were a few other things (comments, etc.) that I have tweaked
(commit message not edited, stolen from v4), but feel free to see the
attached for all the details. libpq fails properly after planting
some exit() calls reported by nm. I have run once autoreconf while on
it, before running a check in the CI, which was also OK.
--
Michael
| Attachment | Content-Type | Size |
|---|---|---|
| v5-0001-libpq-centralize-exit-check-logic-and-unify-Makef.patch | text/x-diff | 8.6 KB |
| v5-0002-libpq-Authorize-pthread_exit-in-libpq-check.patch | text/x-diff | 975 bytes |
| From | Date | Subject | |
|---|---|---|---|
| Next Message | Sami Imseih | 2025-12-04 00:34:23 | Re: explain plans for foreign servers |
| Previous Message | Masahiko Sawada | 2025-12-04 00:14:31 | Re: Add mode column to pg_stat_progress_vacuum |
| From | Date | Subject | |
|---|---|---|---|
| Previous Message | Tom Lane | 2025-12-04 00:11:06 | Re: BUG #19340: Wrong result from CORR() function |