Received: from malur.postgresql.org ([217.196.149.56]) by arkaria.postgresql.org with esmtp (Exim 4.84_2) (envelope-from ) id 1awwnl-0005LZ-I0 for pgsql-bugs@arkaria.postgresql.org; Sun, 01 May 2016 19:13:09 +0000 Received: from localhost ([127.0.0.1] helo=postgresql.org) by malur.postgresql.org with smtp (Exim 4.84_2) (envelope-from ) id 1awwnk-0000fC-0v for pgsql-bugs@arkaria.postgresql.org; Sun, 01 May 2016 19:13:08 +0000 Received: from makus.postgresql.org ([2001:4800:1501:1::229]) by malur.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_CBC_SHA384:256) (Exim 4.84_2) (envelope-from ) id 1awwn6-0008PT-6L for pgsql-bugs@postgresql.org; Sun, 01 May 2016 19:12:28 +0000 Received: from feynman.df7cb.de ([195.49.152.168]) by makus.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_CBC_SHA384:256) (Exim 4.84_2) (envelope-from ) id 1awwn2-00013x-9M for pgsql-bugs@postgresql.org; Sun, 01 May 2016 19:12:26 +0000 Received: from msg.df7cb.de (aftr-37-201-192-11.unity-media.net [37.201.192.11]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (Client did not present a certificate) by feynman.df7cb.de (Postfix) with ESMTPSA id 3qycVj3zThz3Dyq; Sun, 1 May 2016 21:11:41 +0200 (CEST) Date: Sun, 1 May 2016 21:12:21 +0200 From: Christoph Berg To: jsteffee@bepress.com Cc: pgsql-bugs@postgresql.org Subject: Re: BUG #14117: psql and pg_dump commands should use ENV perl Message-ID: <20160501191221.GA10870@msg.df7cb.de> Mail-Followup-To: Christoph Berg , jsteffee@bepress.com, pgsql-bugs@postgresql.org References: <20160427202409.19109.81530@wrigleys.postgresql.org> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20160427202409.19109.81530@wrigleys.postgresql.org> User-Agent: Mutt/1.6.0 (2016-04-01) X-Pg-Spam-Score: -2.9 (--) List-Archive: List-Help: List-ID: List-Owner: List-Post: List-Subscribe: List-Unsubscribe: X-Mailing-List: pgsql-bugs Precedence: bulk Sender: pgsql-bugs-owner@postgresql.org 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