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

From: Christoph Berg <myon(at)debian(dot)org>
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-05-01 19:12:21
Message-ID: 20160501191221.GA10870@msg.df7cb.de
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-bugs

Re: jsteffee(at)bepress(dot)com 2016-04-27 <20160427202409(dot)19109(dot)81530(at)wrigleys(dot)postgresql(dot)org>
> The following bug has been logged on the website:
>
> Bug reference: 14117
> Logged by: Joe Steffee
> Email address: jsteffee(at)bepress(dot)com
> PostgreSQL version: 9.5.2
> Operating system: Ubuntu 14.04.2
> Description:
>
> 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.

Hi,

the usage of `#!/usr/bin/perl' is mandated by the Debian policy and
the Perl sub policy, so it is not going to change. If you need a
different Perl, you'll need to dpkg-divert /usr/bin/perl away and
install your version there, I'm afraid.

Christoph

In response to

Browse pgsql-bugs by date

  From Date Subject
Next Message kangjoni76 2016-05-02 05:13:03 BUG #14123: Build failed pg952 on vs2015
Previous Message Bruce Momjian 2016-04-30 23:01:00 Re: BUG #14103: stored function encryption