Re: pg12 rc1 on CentOS8 depend python2 - Mailing list pgsql-general
From | Adrian Klaver |
---|---|
Subject | Re: pg12 rc1 on CentOS8 depend python2 |
Date | |
Msg-id | dab857f5-9b53-cf55-c21d-fd2996093032@aklaver.com Whole thread Raw |
In response to | pg12 rc1 on CentOS8 depend python2 (keisuke kuroda <keisuke.kuroda.3862@gmail.com>) |
Responses |
Re: pg12 rc1 on CentOS8 depend python2
Re: pg12 rc1 on CentOS8 depend python2 |
List | pgsql-general |
On 9/26/19 6:50 PM, keisuke kuroda wrote: > Hi. > > I tried to install PostgreSQL12 RC1 on CentOS8. > > # dnf install postgresql12-server postgresql12-contrib > > =============================================================================================== > Package Arch Version > Repository > Size > =============================================================================================== > Installing: > postgresql12-contrib x86_64 > 12rc1-1PGDG.rhel8 > pgdg12-updates-testing 660 k > postgresql12-server x86_64 > 12rc1-1PGDG.rhel8 > pgdg12-updates-testing 5.3 M > Installing dependencies: > python2 x86_64 > 2.7.15-22.module_el8.0.0+32+017b2cba AppStream > 107 k > python2-libs x86_64 > 2.7.15-22.module_el8.0.0+32+017b2cba AppStream > 6.0 M > python2-pip noarch > 9.0.3-13.module_el8.0.0+32+017b2cba AppStream > 2.0 M > python2-setuptools noarch > 39.0.1-11.module_el8.0.0+32+017b2cba AppStream > 643 k > postgresql12 x86_64 > 12rc1-1PGDG.rhel8 > pgdg12-updates-testing 1.8 M > postgresql12-libs x86_64 > 12rc1-1PGDG.rhel8 > pgdg12-updates-testing 405 k > Enabling module streams: > python27 2.7 > > CentOS8 does not have python2 installed by default, But PostgreSQL is > dependent on python2. > > Do we need to install python2 when we use PostgreSQL on CentOS8? If it is installing plpythonu, then yes. From the docs: https://www.postgresql.org/docs/12/plpython-python23.html "The language named plpythonu implements PL/Python based on the default Python language variant, which is currently Python 2. (This default is independent of what any local Python installations might consider to be their “default”, for example, what /usr/bin/python might be.) The default will probably be changed to Python 3 in a distant future release of PostgreSQL, depending on the progress of the migration to Python 3 in the Python community." > > Best Regards. > Keisuke Kuroda -- Adrian Klaver adrian.klaver@aklaver.com
pgsql-general by date: