Re: PostgreSQL: PY3 files in PY2 installation

From: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
To: Devrim Gündüz <devrim(at)gunduz(dot)org>
Cc: PostgreSQL Hackers ML <pgsql-hackers(at)postgresql(dot)org>
Subject: Re: PostgreSQL: PY3 files in PY2 installation
Date: 2018-05-21 14:11:41
Message-ID: 27331.1526911901@sss.pgh.pa.us
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

Devrim =?ISO-8859-1?Q?G=FCnd=FCz?= <devrim(at)gunduz(dot)org> writes:
> On Mon, 2018-05-21 at 12:42 +0100, Devrim Gündüz wrote:
>> The following files are installed even when I build PostgreSQL 9.5+ on RHEL 7
>> Python 2.7:
>>
>> hstore_plpython3u--1.0.sql
>> hstore_plpython3u.control
>> jsonb_plpython3u--1.0.sql
>> jsonb_plpython3u.control
>> ltree_plpython3u--1.0.sql
>> ltree_plpython3u.control
>>
>> Is this expected?

> This is likely a spec file issue. Sorry for the noise.

No, I see it happen here too, eg

$ cd contrib/hstore_plpython
$ make install
...
/bin/mkdir -p '/home/postgres/installdir/lib'
/bin/mkdir -p '/home/postgres/installdir/share/extension'
/bin/mkdir -p '/home/postgres/installdir/share/extension'
/usr/bin/install -c -m 755 hstore_plpython2.so '/home/postgres/installdir/lib/hstore_plpython2.so'
/usr/bin/install -c -m 644 ./hstore_plpythonu.control ./hstore_plpython2u.control ./hstore_plpython3u.control '/home/postgres/installdir/share/extension/'
/usr/bin/install -c -m 644 ./hstore_plpythonu--1.0.sql ./hstore_plpython2u--1.0.sql ./hstore_plpython3u--1.0.sql '/home/postgres/installdir/share/extension/'

Seems pretty bogus, since only one .so is getting installed.

regards, tom lane

In response to

Browse pgsql-hackers by date

  From Date Subject
Next Message Peter Eisentraut 2018-05-21 14:14:58 Re: [HACKERS] Aggregate transition state merging vs. hypothetical set functions
Previous Message Robert Haas 2018-05-21 13:46:11 Re: Flexible permissions for REFRESH MATERIALIZED VIEW