Re: PostgreSQL: PY3 files in PY2 installation - Mailing list pgsql-hackers

From Tom Lane
Subject Re: PostgreSQL: PY3 files in PY2 installation
Date
Msg-id 27331.1526911901@sss.pgh.pa.us
Whole thread Raw
In response to Re: PostgreSQL: PY3 files in PY2 installation  (Devrim Gündüz <devrim@gunduz.org>)
List pgsql-hackers
Devrim =?ISO-8859-1?Q?G=FCnd=FCz?= <devrim@gunduz.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


pgsql-hackers by date:

Previous
From: Robert Haas
Date:
Subject: Re: Flexible permissions for REFRESH MATERIALIZED VIEW
Next
From: Peter Eisentraut
Date:
Subject: Re: [HACKERS] Aggregate transition state merging vs. hypothetical setfunctions