Re: BUG #14117: psql and pg_dump commands should use ENV perl

From: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
To: jsteffee(at)bepress(dot)com
Cc: pgsql-bugs(at)postgresql(dot)org
Subject: Re: BUG #14117: psql and pg_dump commands should use ENV perl
Date: 2016-04-27 22:27:07
Message-ID: 4514.1461796027@sss.pgh.pa.us
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-bugs

jsteffee(at)bepress(dot)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

In response to

Responses

Browse pgsql-bugs by date

  From Date Subject
Next Message Andres Freund 2016-04-27 22:30:50 Re: BUG #14117: psql and pg_dump commands should use ENV perl
Previous Message jsteffee 2016-04-27 20:24:09 BUG #14117: psql and pg_dump commands should use ENV perl