Received: from malur.postgresql.org ([217.196.149.56]) by arkaria.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_CBC_SHA1:256) (Exim 4.89) (envelope-from ) id 1iDqS6-0002Vx-I8 for pgsql-pkg-yum@arkaria.postgresql.org; Fri, 27 Sep 2019 13:38:30 +0000 Received: from localhost ([127.0.0.1] helo=malur.postgresql.org) by malur.postgresql.org with esmtp (Exim 4.89) (envelope-from ) id 1iDqS5-0000sw-As for pgsql-pkg-yum@arkaria.postgresql.org; Fri, 27 Sep 2019 13:38:29 +0000 Received: from magus.postgresql.org ([2a02:c0:301:0:ffff::29]) by malur.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_CBC_SHA1:256) (Exim 4.89) (envelope-from ) id 1iDqS5-0000sf-4K; Fri, 27 Sep 2019 13:38:29 +0000 Received: from sss.pgh.pa.us ([66.207.139.130]) by magus.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_CBC_SHA1:256) (Exim 4.89) (envelope-from ) id 1iDqS2-0003Lr-Jx; Fri, 27 Sep 2019 13:38:28 +0000 Received: from sss1.sss.pgh.pa.us (localhost [127.0.0.1]) by sss.pgh.pa.us (8.14.4/8.14.4) with ESMTP id x8RDcI5d019497; Fri, 27 Sep 2019 09:38:18 -0400 From: Tom Lane To: keisuke kuroda cc: Adrian Klaver , pgsql-general@postgresql.org, pgsql-pkg-yum@postgresql.org Subject: Re: pg12 rc1 on CentOS8 depend python2 In-reply-to: References: Comments: In-reply-to keisuke kuroda message dated "Fri, 27 Sep 2019 13:24:15 +0900" MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-ID: <19494.1569591498.1@sss.pgh.pa.us> Date: Fri, 27 Sep 2019 09:38:18 -0400 Message-ID: <19495.1569591498@sss.pgh.pa.us> List-Id: List-Help: List-Subscribe: List-Post: List-Owner: List-Archive: Precedence: bulk keisuke kuroda writes: > Even if I don't need to install plpythonu, > RPM package includes "CONFIGURE = --with-python". > Therefore I think that I need to install python2 when RPM install. > Is my understanding correct? The core server package shouldn't have any python dependency. It doesn't surprise me so much that the contrib package does, though. Most likely, that includes the plpython transform modules (hstore_plpython, jsonb_plpython, etc), which are certainly going to depend on whichever libpython PG was built with. It might've been better to split out those modules as a separate package. OTOH that would add confusion, and we have a lot of subpackages already. Another idea might be to bundle them into the plpython package instead of contrib (and similarly for the plperl transforms). regards, tom lane