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 1hajUj-0000bd-Rz for pgsql-admin@arkaria.postgresql.org; Tue, 11 Jun 2019 16:19:34 +0000 Received: from localhost ([127.0.0.1] helo=malur.postgresql.org) by malur.postgresql.org with esmtp (Exim 4.89) (envelope-from ) id 1hajUi-0004ZJ-OJ for pgsql-admin@arkaria.postgresql.org; Tue, 11 Jun 2019 16:19:32 +0000 Received: from makus.postgresql.org ([2001:4800:3e1:1::229]) by malur.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_CBC_SHA1:256) (Exim 4.89) (envelope-from ) id 1hajUh-0004ZC-TN for pgsql-admin@lists.postgresql.org; Tue, 11 Jun 2019 16:19:32 +0000 Received: from mail-pg1-x531.google.com ([2607:f8b0:4864:20::531]) by makus.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_CBC_SHA1:256) (Exim 4.89) (envelope-from ) id 1hajUf-0003qP-27 for pgsql-admin@lists.postgresql.org; Tue, 11 Jun 2019 16:19:30 +0000 Received: by mail-pg1-x531.google.com with SMTP id k187so6741447pga.0 for ; Tue, 11 Jun 2019 09:19:28 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=opsveda.com; s=ov; h=from:to:references:in-reply-to:subject:date:message-id:mime-version :content-transfer-encoding:thread-index:content-language; bh=jDo55jLloN13vFkta3CVWyrDQ+V3mznwQg69oC3xmnY=; b=Hhe+AMlzIex5dU3KrUBdOrBkEperpjRLJbQ43eiGZbmLonNLdZno5dzgfWLtTdLurt /iIBrGmpy0me7cEtVPT9kB/jxxDm0Jp6473gTt2634hl1tbGo+U+9v4bUTOTwRxnmuXr y/OFlERsSSocADX4j4cvh6GSmTj9pPsvn0H3E= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:references:in-reply-to:subject:date :message-id:mime-version:content-transfer-encoding:thread-index :content-language; bh=jDo55jLloN13vFkta3CVWyrDQ+V3mznwQg69oC3xmnY=; b=G1Pa/ZaxT7c2SCHQITL4mLbFDRseP8M4Mp4XdqxGviK19NL6jr+7raQrm8JLT/91iz 4HqOy79GEseE4Yi8SfYdT+J+SEMGbBdYVyoU++OKRqtH4kr7QsFdgx6NaqPyve5TVnRC /ljX2WPOZu1tpwuLaUr17G0N+oZ+0xPDWwnnkmY+vKpoSjqgvO1mRiu7JJGqkLBq1T/9 GIZh8/W1fJ65B1geF08MKsG2t5ds2D9B4oNrxz7zxfrK57s8qzKO/zmtP0i5mZDagJqR nCGhiFueHwS6jm69dKcqpZBiZ/gjy16UV5A4zxCOOWhNNEYjWGavB9M2IkMRjp8nY6E9 IVYQ== X-Gm-Message-State: APjAAAVB+Jhgzw+LTys5BncOfOehFewE59z42puWi8kQbJafQePyOXS6 yXWoA3t1in9BQOzOTERdxapThQ== X-Google-Smtp-Source: APXvYqweZHUyHyyYIOB8//vclkaOJb3cAKqBXzBeSstshhFH41mRv+KNePYA69IU9p1QVoVjJsiGfA== X-Received: by 2002:a63:f346:: with SMTP id t6mr14301469pgj.203.1560269966962; Tue, 11 Jun 2019 09:19:26 -0700 (PDT) Received: from OVALL142 ([122.171.48.188]) by smtp.gmail.com with ESMTPSA id s24sm15799438pfh.133.2019.06.11.09.19.24 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Tue, 11 Jun 2019 09:19:25 -0700 (PDT) From: "Srikar Vankadaru" To: "'Jakub Olczyk'" , References: <004401d5204f$407da920$c178fb60$@opsveda.com> In-Reply-To: Subject: RE: Install postgresql-plpython for postgres 11 Date: Tue, 11 Jun 2019 21:49:22 +0530 Message-ID: <009101d52071$6f706d90$4e5148b0$@opsveda.com> MIME-Version: 1.0 Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Mailer: Microsoft Outlook 15.0 Thread-Index: AQIG1jEdWmtZRy95ofAJClw6VJ4e0AEs3NaMpinPCCA= Content-Language: en-us List-Id: List-Help: List-Subscribe: List-Post: List-Owner: List-Archive: Precedence: bulk Hi Jwo, I am sorry, we have built Postgresql from the Centos 7 repository. Not = from the source. Is there any option to add this Language now ? If I need to rebuild with = this option, what is the procedure to do that ? Thanks, Srikar=20 -----Original Message----- From: Jakub Olczyk [mailto:jwo@disroot.org]=20 Sent: Tuesday, June 11, 2019 20:18 To: pgsql-admin@lists.postgresql.org Subject: Re: Install postgresql-plpython for postgres 11 Hi Srikar! On 11/06/2019 14:14, Srikar Vankadaru wrote: > I wanted to install PL/Python (package name: postgresql-plpython) on=20 > Postgres 11.2 version running on AWS with Centos 7. >=20 > Is there any way to add this language for my running postgres server = ? > As we have used the source package to install Postgresql 11 without=20 > giving option |--with-python| As I understand you have compiled the binaries yourself. In that case I = think the only option is to recompile from the same sources with = different configuration (this should be fairly fast unless you removed = the object files). I don't know if there is a smooth way to use = prepackaged (in form of RPM) version of PL/Python in this case. > I tried to find for packages in Centos 7 repo, but found this one and=20 > it needs the dependency to install postgresql-server. >=20 > postgresql-plpython > x86_64 > 9.2.24-1.el7_5 base This is version of the PL/Python for the base system version of = PostgreSQL. This version is very old and not supported anymore by the = developers. You need to have matching version of Postgres server and = PL/Python. Maybe others can give more insight if marrying compiled and packaged = extension can work. I'd use the packaged version of Postgres server and = PL/Python from official repository here: http://yum.postgresql.org Cheers! jwo