pgsql: Allow "make check"-style testing to work with musl C library.

2024-03-26 Thread Tom Lane
Allow "make check"-style testing to work with musl C library. The musl dynamic linker saves a pointer to the process' environment value of LD_LIBRARY_PATH very early in startup. When we move/clobber the environment to make more room for ps status strings, we clobber that value and thereby prevent

pgsql: Allow "make check"-style testing to work with musl C library.

2024-03-26 Thread Tom Lane
Allow "make check"-style testing to work with musl C library. The musl dynamic linker saves a pointer to the process' environment value of LD_LIBRARY_PATH very early in startup. When we move/clobber the environment to make more room for ps status strings, we clobber that value and thereby prevent

pgsql: Allow "make check"-style testing to work with musl C library.

2024-03-26 Thread Tom Lane
Allow "make check"-style testing to work with musl C library. The musl dynamic linker saves a pointer to the process' environment value of LD_LIBRARY_PATH very early in startup. When we move/clobber the environment to make more room for ps status strings, we clobber that value and thereby prevent

pgsql: Allow "make check"-style testing to work with musl C library.

2024-03-26 Thread Tom Lane
Allow "make check"-style testing to work with musl C library. The musl dynamic linker saves a pointer to the process' environment value of LD_LIBRARY_PATH very early in startup. When we move/clobber the environment to make more room for ps status strings, we clobber that value and thereby prevent

pgsql: Allow "make check"-style testing to work with musl C library.

2024-03-26 Thread Tom Lane
Allow "make check"-style testing to work with musl C library. The musl dynamic linker saves a pointer to the process' environment value of LD_LIBRARY_PATH very early in startup. When we move/clobber the environment to make more room for ps status strings, we clobber that value and thereby prevent

pgsql: Allow "make check"-style testing to work with musl C library.

2024-03-26 Thread Tom Lane
Allow "make check"-style testing to work with musl C library. The musl dynamic linker saves a pointer to the process' environment value of LD_LIBRARY_PATH very early in startup. When we move/clobber the environment to make more room for ps status strings, we clobber that value and thereby prevent