Re: Regression tests fail with musl libc because libpq.so can't be loaded
Tom Lane <tgl@sss.pgh.pa.us>
From: Tom Lane <tgl@sss.pgh.pa.us>
To: Thomas Munro <thomas.munro@gmail.com>
Cc: walther@technowledgy.de, Peter Eisentraut <peter@eisentraut.org>,
Christophe Pettus <xof@thebuild.com>,
Andrew Dunstan <andrew@dunslane.net>,
PostgreSQL Bugs <pgsql-bugs@lists.postgresql.org>,
Bruce Momjian <bruce@momjian.us>
Date: 2024-03-21T23:30:52Z
Lists: pgsql-bugs, pgsql-hackers
Commits
Same data as JSON:
GET /api/v1/messages/:b64id/commits
the thread's linked commits as JSON, with link sources.
API reference →
-
Allow "make check"-style testing to work with musl C library.
- d82605bcd666 14.12 landed
- 8a92b70c11ba 17.0 landed
- 7651fd387697 16.3 landed
- 7124e7d528a8 12.19 landed
- 3c3f4fd741d0 15.7 landed
- 243e9953281f 13.15 landed
-
Fix compiler warnings on MSYS2
- 8c6d30f21139 13.0 cited
Thomas Munro <thomas.munro@gmail.com> writes: > On Fri, Mar 22, 2024 at 12:02 PM Tom Lane <tgl@sss.pgh.pa.us> wrote: >> The previously-suggested patch to whitelist glibc and variants, >> and otherwise fall back to PS_USE_NONE, seems like it might be >> the appropriate amount of effort. > What about meeting musl halfway: clobber argv, but only clobber > environ for the libcs known to tolerate that? Then musl might see > truncation at 30-60 characters or whatever it is, but that's probably > enough to see your cluster_name and backend type/user name which is > pretty useful information. No real objection here. I do wonder about the point you (or somebody) made upthread that we don't have any testing of the PS_USE_NONE case; but that could be addressed some other way. regards, tom lane