Received: from malur.postgresql.org ([217.196.149.56]) by arkaria.postgresql.org with esmtps (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1mhfOr-00024m-S5 for pgsql-admin@arkaria.postgresql.org; Mon, 01 Nov 2021 22:03:29 +0000 Received: from localhost ([127.0.0.1] helo=malur.postgresql.org) by malur.postgresql.org with esmtp (Exim 4.92) (envelope-from ) id 1mhfOq-0008Dp-Gg for pgsql-admin@arkaria.postgresql.org; Mon, 01 Nov 2021 22:03:28 +0000 Received: from makus.postgresql.org ([2001:4800:3e1:1::229]) by malur.postgresql.org with esmtps (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1mhfOq-0008AA-7I for pgsql-admin@lists.postgresql.org; Mon, 01 Nov 2021 22:03:28 +0000 Received: from sss.pgh.pa.us ([66.207.139.130]) by makus.postgresql.org with esmtps (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1mhfOo-0007Q1-A3 for pgsql-admin@lists.postgresql.org; Mon, 01 Nov 2021 22:03:27 +0000 Received: from sss1.sss.pgh.pa.us (localhost [127.0.0.1]) by sss.pgh.pa.us (8.15.2/8.15.2) with ESMTP id 1A1M3NET1311505; Mon, 1 Nov 2021 18:03:23 -0400 From: Tom Lane To: Ni Ne cc: "pgsql-admin@lists.postgresql.org" Subject: Re: How to control which Python interpreter Postgres uses? In-reply-to: References: Comments: In-reply-to Ni Ne message dated "Mon, 01 Nov 2021 21:48:13 -0000" MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-ID: <1311503.1635804203.1@sss.pgh.pa.us> Content-Transfer-Encoding: quoted-printable Date: Mon, 01 Nov 2021 18:03:23 -0400 Message-ID: <1311504.1635804203@sss.pgh.pa.us> List-Id: List-Help: List-Subscribe: List-Post: List-Owner: List-Archive: Archived-At: Precedence: bulk Ni Ne writes: > How can I adjust my postgres settings to tell it which Python interprete= r binary to use? You'd have to recompile plpython against the particular libpython you want to use. regards, tom lane