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

Поиск
Список
Период
Сортировка
От Christoph Berg
Тема Re: BUG #14117: psql and pg_dump commands should use ENV perl
Дата
Msg-id 20160501191221.GA10870@msg.df7cb.de
обсуждение исходный текст
Ответ на BUG #14117: psql and pg_dump commands should use ENV perl  (jsteffee@bepress.com)
Список pgsql-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

В списке pgsql-bugs по дате отправления:

Предыдущее
От: Bruce Momjian
Дата:
Сообщение: Re: BUG #14103: stored function encryption
Следующее
От: kangjoni76@gmail.com
Дата:
Сообщение: BUG #14123: Build failed pg952 on vs2015