Re: BUG #14117: psql and pg_dump commands should use ENV perl - Mailing list pgsql-bugs

From Tom Lane
Subject Re: BUG #14117: psql and pg_dump commands should use ENV perl
Date
Msg-id 4514.1461796027@sss.pgh.pa.us
Whole thread Raw
In response to BUG #14117: psql and pg_dump commands should use ENV perl  (jsteffee@bepress.com)
Responses Re: BUG #14117: psql and pg_dump commands should use ENV perl
List pgsql-bugs
jsteffee@bepress.com writes:
> We have multiple systems which use non-system perl for various tasks,
> including perl scripts which test some pg_dump commands. These break because
> psql and pg_dump are hard-coded with #!/usr/bin/perl instead of
> #!/usr/bin/env perl. The PERL5LIB is set up with libraries based on the perl
> called with ENV, where /usr/bin/perl has libraries compiled differently.

Uh, what?  Neither of those programs use perl at all.

We do have hard-wired uses of /usr/bin/perl in some scripts that might get
used at build time, but those shouldn't really be an issue, especially not
if you're using prebuilt packages, or even just building from a tarball.

            regards, tom lane

pgsql-bugs by date:

Previous
From: jsteffee@bepress.com
Date:
Subject: BUG #14117: psql and pg_dump commands should use ENV perl
Next
From: Andres Freund
Date:
Subject: Re: BUG #14117: psql and pg_dump commands should use ENV perl