From: Andres Freund <andres@anarazel.de>
To: Tom Lane <tgl@sss.pgh.pa.us>
Cc: jsteffee@bepress.com
Cc: pgsql-bugs@postgresql.org
Cc: Christoph Berg <cb@df7cb.de>
Subject: Re: BUG #14117: psql and pg_dump commands should use ENV perl
Date: Wed, 27 Apr 2016 15:30:50 -0700
Message-ID: <20160427223050.paymffay46zvzjvf@alap3.anarazel.de> (raw)
In-Reply-To: <4514.1461796027@sss.pgh.pa.us>
References: <20160427202409.19109.81530@wrigleys.postgresql.org>
<4514.1461796027@sss.pgh.pa.us>
List-Unsubscribe: <mailto:majordomo@postgresql.org?body=unsub%20pgsql-bugs>
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
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: andres@anarazel.de, tgl@sss.pgh.pa.us, jsteffee@bepress.com, cb@df7cb.de
Subject: Re: BUG #14117: psql and pg_dump commands should use ENV perl
In-Reply-To: <20160427223050.paymffay46zvzjvf@alap3.anarazel.de>
References: <20160427202409.19109.81530@wrigleys.postgresql.org> <4514.1461796027@sss.pgh.pa.us> <20160427223050.paymffay46zvzjvf@alap3.anarazel.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