Thomas Munro <thomas.munro@gmail.com> writes:
> On Tue, Mar 26, 2024 at 11:46 AM Peter Eisentraut <peter@eisentraut.org> wrote:
>> What determines which variables require this treatment?
> I had originally proposed to avoid anything beginning "LD_" but Tom
> suggested being more specific. I doubt LD_PRELOAD can really hurt you
> though (the linker probably only needs the value at the start by
> definition, not at later dlopen() time (?)).
Oh, good point. So we could simplify the patch by only looking for
LD_LIBRARY_PATH.
regards, tom lane