Centralize exit() checks for libpq into a shared Perl script used by both Makefile and Meson; unify platform handling and use nm detected at configure time

Edit
ID 6296
Title Centralize exit() checks for libpq into a shared Perl script used by both Makefile and Meson; unify platform handling and use nm detected at configure time
CI (CFBot) Summary
Stats (from CFBot) Patch version: v6, Patch count: 2, First patch: +110−17, All patches: +112−17
Topic Clients
Tags libpq Missing Tests My First Patch PL/Perl
Created 2025-12-08 10:43:39
Last modified 2025-12-08 10:44:41 (2 hours ago)
Latest email 2025-12-08 04:41:08 (8 hours ago)
Status
PG19-4 (2026-01-01 – 2026-01-31): Needs review
Target version 19
Authors Vasu M (vasu01)
Reviewers Become reviewer
Committer
Links
Emails
BUG #19095: Test if function exit() is used fail when linked static
First at 2025-10-27 07:56:38 by PG Bug reporting form <noreply at postgresql.org>
Latest at 2025-12-08 04:41:08 by VASUKI M <vasukim1992002 at gmail.com>
Latest attachment (v6-0001-libpq-centralize-exit-check-logic-and-unify-Makef.patch) at 2025-12-04 11:08:40 from VASUKI M <vasukim1992002 at gmail.com>
    Attachment (v6-0001-libpq-centralize-exit-check-logic-and-unify-Makef.patch) at 2025-12-04 11:08:40 from VASUKI M <vasukim1992002 at gmail.com> (Patch: Yes)
    Attachment (v5-0001-libpq-centralize-exit-check-logic-and-unify-Makef.patch) at 2025-12-04 00:32:03 from Michael Paquier <michael at paquier.xyz> (Patch: Yes)
    Attachment (v4-0001-libpq-centralize-exit-check-logic-and-unify-Makef.patch) at 2025-12-03 11:59:33 from VASUKI M <vasukim1992002 at gmail.com> (Patch: Yes)
    Attachment (v3-0001-libpq-exit-check.patch) at 2025-11-25 09:11:32 from VASUKI M <vasukim1992002 at gmail.com> (Patch: Yes)
    Attachment (v2-0001-Add-exit-check-for-libpq.so-for-meson-build.patch) at 2025-11-24 11:04:01 from Nazir Bilal Yavuz <byavuz81 at gmail.com> (Patch: Yes)
    Attachment (v1-0001-Add-exit-check-for-libpq.so-for-meson-build.patch) at 2025-11-19 13:17:07 from Nazir Bilal Yavuz <byavuz81 at gmail.com> (Patch: Yes)
    Attachment (0001-libpq-Add-exit-function-check-for-Meson-build-and-wh.patch) at 2025-11-19 12:29:09 from BharatDB <bharatdbpg at gmail.com> (Patch: Yes)
    Attachment (0001-libpq-exit-check-function-for-meson-and-Makefile.patch) at 2025-11-19 09:08:37 from BharatDB <bharatdbpg at gmail.com> (Patch: Yes)
    Attachment (pthread_exit_whitelist.diff) at 2025-11-14 12:11:15 from Daniel Gustafsson <daniel at yesql.se> (Patch: Yes)
    Attachment (0001-Fix-prevent-false-exit-match-in-libpq-static-link-ch.patch) at 2025-11-12 05:54:31 from BharatDB <bharatdbpg at gmail.com> (Patch: Yes)
    Attachment (0001-Fix-prevent-false-exit-match-in-libpq-static-link-ch.patch) at 2025-11-12 05:53:10 from BharatDB <bharatdbpg at gmail.com> (Patch: Yes)
History
When Who What
2025-12-08 10:43:40 Vasu M (vasu01) Attached mail thread 19095-6d8256d0c37d4be2@postgresql.org
2025-12-08 10:43:39 Vasu M (vasu01) Created patch record
Edit