Received: from malur.postgresql.org ([217.196.149.56]) by arkaria.postgresql.org with esmtp (Exim 4.84_2) (envelope-from ) id 1avXz1-0000Rr-3w for pgsql-bugs@arkaria.postgresql.org; Wed, 27 Apr 2016 22:30:59 +0000 Received: from localhost ([127.0.0.1] helo=postgresql.org) by malur.postgresql.org with smtp (Exim 4.84_2) (envelope-from ) id 1avXz0-0004vt-Ms for pgsql-bugs@arkaria.postgresql.org; Wed, 27 Apr 2016 22:30:58 +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 1avXyz-0004v0-Kc for pgsql-bugs@postgresql.org; Wed, 27 Apr 2016 22:30:57 +0000 Received: from out1-smtp.messagingengine.com ([66.111.4.25]) by makus.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_CBC_SHA384:256) (Exim 4.84_2) (envelope-from ) id 1avXyw-0004ij-Qs for pgsql-bugs@postgresql.org; Wed, 27 Apr 2016 22:30:56 +0000 Received: from compute5.internal (compute5.nyi.internal [10.202.2.45]) by mailout.nyi.internal (Postfix) with ESMTP id 2E60320B5F for ; Wed, 27 Apr 2016 18:30:53 -0400 (EDT) Received: from frontend1 ([10.202.2.160]) by compute5.internal (MEProxy); Wed, 27 Apr 2016 18:30:53 -0400 DKIM-Signature: v=1; a=rsa-sha1; c=relaxed/relaxed; d= messagingengine.com; h=cc:content-type:date:from:in-reply-to :message-id:mime-version:references:subject:to:x-sasl-enc :x-sasl-enc; s=smtpout; bh=9ALFXJaS5RNoC7RAjjnL629qaNY=; b=JIz3m SHElhr9qdtKLFbQ8zyE+jqJsOgfm878XR9DP+jWkMOQPME4LB6ex+ZS4eL3ZCTP4 Oc6TevIYg7kjiJ3QPVZ+3e5UVvGoB9VAktdL0f5vjZdNMrDvBb1mygCRi4G2fGxH kyag4FKhXjeWCD6qXdiNn1+8ipMVR4OwlUW5Uc= X-Sasl-enc: /vqC4nDvZHODicpUqJkEUxntnkEUFZUnLuLZwJEltVpf 1461796252 Received: from intern.anarazel.de (unknown [162.217.75.74]) by mail.messagingengine.com (Postfix) with ESMTPA id C3683C00017; Wed, 27 Apr 2016 18:30:52 -0400 (EDT) Date: Wed, 27 Apr 2016 15:30:50 -0700 From: Andres Freund To: Tom Lane Cc: jsteffee@bepress.com, pgsql-bugs@postgresql.org, Christoph Berg Subject: Re: BUG #14117: psql and pg_dump commands should use ENV perl Message-ID: <20160427223050.paymffay46zvzjvf@alap3.anarazel.de> References: <20160427202409.19109.81530@wrigleys.postgresql.org> <4514.1461796027@sss.pgh.pa.us> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <4514.1461796027@sss.pgh.pa.us> X-Pg-Spam-Score: -2.6 (--) 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 On 2016-04-27 18:27:07 -0400, Tom Lane wrote: > 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. I guess the OP is using the debian/ubuntu packages which have a wrapper around most postgres binariers which tries to use the correct version of the binary. Joe, you might have more success opening a bug-report against either Debian's or Ubuntu's packages. Andres -- Sent via pgsql-bugs mailing list (pgsql-bugs@postgresql.org) To make changes to your subscription: http://www.postgresql.org/mailpref/pgsql-bugs