pg.ddx.io  pgsql-bugs@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Christoph Berg <myon@debian.org>
To: jsteffee@bepress.com
Cc: pgsql-bugs@postgresql.org
Subject: Re: BUG #14117: psql and pg_dump commands should use ENV perl
Date: Sun, 1 May 2016 21:12:21 +0200
Message-ID: <20160501191221.GA10870@msg.df7cb.de> (raw)
In-Reply-To: <20160427202409.19109.81530@wrigleys.postgresql.org>
References: <20160427202409.19109.81530@wrigleys.postgresql.org>
List-Unsubscribe: <mailto:majordomo@postgresql.org?body=unsub%20pgsql-bugs>

Re: jsteffee@bepress.com 2016-04-27 <20160427202409.19109.81530@wrigleys.postgresql.org>
> The following bug has been logged on the website:
> 
> Bug reference:      14117
> Logged by:          Joe Steffee
> Email address:      jsteffee@bepress.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


-- 
Sent via pgsql-bugs mailing list (pgsql-bugs@postgresql.org)
To make changes to your subscription:
http://www.postgresql.org/mailpref/pgsql-bugs



view thread (6+ messages)

Message-ID: <20160501191221.GA10870@msg.df7cb.de>
Permalink:  ../20160501191221.GA10870@msg.df7cb.de/
Also on:    postgresql.org/message-id/20160501191221.GA10870@msg.df7cb.de

 · 

reply

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Reply to all the recipients from your mail client; the link fills in
  the headers below: reply via email
  Some clients, webmail especially, drop In-Reply-To and References from
  a link, and the reply then starts a new thread: use the mbox below.

  To: pgsql-bugs@postgresql.org
  Cc: myon@debian.org, jsteffee@bepress.com
  Subject: Re: BUG #14117: psql and pg_dump commands should use ENV perl
  In-Reply-To: <20160501191221.GA10870@msg.df7cb.de>
  References: <20160427202409.19109.81530@wrigleys.postgresql.org> <20160501191221.GA10870@msg.df7cb.de>

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox