PostgreSQL: PY3 files in PY2 installation
PostgreSQL: PY3 files in PY2 installation
Hi, 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? Regards, -- Devrim Gündüz EnterpriseDB: https://www.enterprisedb.com PostgreSQL Consultant, Red Hat Certified Engineer Twitter: @DevrimGunduz , @DevrimGunduzTR
Re: PostgreSQL: PY3 files in PY2 installation
Hi, 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. Regards, -- Devrim Gündüz EnterpriseDB: https://www.enterprisedb.com PostgreSQL Consultant, Red Hat Certified Engineer Twitter: @DevrimGunduz , @DevrimGunduzTR
Re: PostgreSQL: PY3 files in PY2 installation
От:
Tom Lane <tgl@sss.pgh.pa.us>
Дата:
Devrim =?ISO-8859-1?Q?G=FCnd=FCz?= 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