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 1meNoi-000435-Cz for pgsql-general@arkaria.postgresql.org; Sat, 23 Oct 2021 20:40:36 +0000 Received: from localhost ([127.0.0.1] helo=malur.postgresql.org) by malur.postgresql.org with esmtp (Exim 4.92) (envelope-from ) id 1meNog-0007Mr-F6 for pgsql-general@arkaria.postgresql.org; Sat, 23 Oct 2021 20:40:34 +0000 Received: from magus.postgresql.org ([2a02:c0:301:0:ffff::29]) by malur.postgresql.org with esmtps (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1meNoe-0007Mi-QG for pgsql-general@lists.postgresql.org; Sat, 23 Oct 2021 20:40:34 +0000 Received: from wout1-smtp.messagingengine.com ([64.147.123.24]) by magus.postgresql.org with esmtps (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1meNoa-00076g-AN for pgsql-general@lists.postgresql.org; Sat, 23 Oct 2021 20:40:32 +0000 Received: from compute6.internal (compute6.nyi.internal [10.202.2.46]) by mailout.west.internal (Postfix) with ESMTP id EDA1F3200A39; Sat, 23 Oct 2021 16:40:23 -0400 (EDT) Received: from mailfrontend1 ([10.202.2.162]) by compute6.internal (MEProxy); Sat, 23 Oct 2021 16:40:24 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=aklaver.com; h= message-id:date:mime-version:subject:to:cc:references:from :in-reply-to:content-type:content-transfer-encoding; s=fm1; bh=4 tx6jTarnGHwmbXfSe5IIUIE8J6AHKuAXhefKd+aTYM=; b=IPZeX7YUnrQ0SJ8o4 sJazvdHsesmSJ6+qjHZbD9WQKSXexv6ZgolAiYr+Znh+KoDbaEmVtazdtQ+8dctC c4B6eAy/Ib4gbO4vhxwK56GvOlfPXWtlJJQWsLEJn5TbB5Kv/qinBYJJc1CmYnHB C31Ym1LlGiU/E9vxSInMSoqE3svbS8oEp/wiKcZ21W80vER6PXBp9KqhWGNq6xDf WVm177qRCzFNoHkUmwkG696K7GNmeJ9WPErefa7Z9ykiDsE975Zb5rB758EVMND1 wvxen9DbvKVsflYhp7kTSkuXJSleNNkPPV7sBzd4JYy+KV8WQ+cmKdje/OOLoG5u R7miw== DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d= messagingengine.com; h=cc:content-transfer-encoding:content-type :date:from:in-reply-to:message-id:mime-version:references :subject:to:x-me-proxy:x-me-proxy:x-me-sender:x-me-sender :x-sasl-enc; s=fm1; bh=4tx6jTarnGHwmbXfSe5IIUIE8J6AHKuAXhefKd+aT YM=; b=Ie/wJ/lDrXFXjNv1QEOcyiVv63vQTCNXOXmn0xExhM2b3weDxloUoJVvQ z9vNY1ZM8TohvEGeJP1/vmf+9lbEtkz+7LUr8kMcJrqRM59eZtYGpffX4cT99oqk Q2EB8nbOfcNuvwxpG1YPyOc7yEuB6W5BWKMOcqRaVauWp7Ndsoaxq8hyGgEwrpm+ 6H1FHwfALKUuNfvnrMxNkMp0uOsjPaYrvtmNmaLqspKJFAA0gWxw5QZCRcXo0Uts uS1IBPeCW8qXuToR1SOPhJCECjcqgPMll6GeVdnqIjpNxZfxBFHcxUOzo2BgHjve Dkww1lGKPpMlW5wUzQYa/UrqYyMcA== X-ME-Sender: X-ME-Received: X-ME-Proxy-Cause: gggruggvucftvghtrhhoucdtuddrgedvtddrvdeftddgudegudcutefuodetggdotefrod ftvfcurfhrohhfihhlvgemucfhrghsthforghilhdpqfgfvfdpuffrtefokffrpgfnqfgh necuuegrihhlohhuthemuceftddtnecunecujfgurhepkfffgggfuffvfhfhjggtgfesth ekredttdefjeenucfhrhhomheptegurhhirghnucfmlhgrvhgvrhcuoegrughrihgrnhdr khhlrghvvghrsegrkhhlrghvvghrrdgtohhmqeenucggtffrrghtthgvrhhnpeffffelfe evudejhfevffefjeejgfegkedvtdfgffektdetvdfhtefgfeefuefhteenucffohhmrghi nhepphhkghhsrdhorhhgpdhpohhsthhgrhgvshhqlhdrohhrghenucevlhhushhtvghruf hiiigvpedtnecurfgrrhgrmhepmhgrihhlfhhrohhmpegrughrihgrnhdrkhhlrghvvghr segrkhhlrghvvghrrdgtohhm X-ME-Proxy: Received: by mail.messagingengine.com (Postfix) with ESMTPA; Sat, 23 Oct 2021 16:40:22 -0400 (EDT) Message-ID: <9ca83aed-84de-93d8-10a6-c98f43af4704@aklaver.com> Date: Sat, 23 Oct 2021 13:40:21 -0700 MIME-Version: 1.0 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:91.0) Gecko/20100101 Thunderbird/91.2.1 Subject: Re: Python3 for PostgreSQL 14 Content-Language: en-US To: =?UTF-8?B?0JTQvNC40YLRgNC40Lkg0JjQstCw0L3QvtCy?= Cc: pgsql-general@lists.postgresql.org References: <8b496ed8-3ef0-3a2a-564e-aec010ac9966@aklaver.com> From: Adrian Klaver In-Reply-To: Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 8bit List-Id: List-Help: List-Subscribe: List-Post: List-Owner: List-Archive: Archived-At: Precedence: bulk On 10/23/21 13:00, Дмитрий Иванов wrote: > Да. > Python extension issues occurred on Windows Server 2012 and Windows 10 > Pro. Experimentally, when installing version 3.7.4, everything worked. If you used the EDB installer for the Windows install of Postgres then you need to use their Language Pack to match up with what the plpython expects. > This is my first time deploying Debian, and since I didn't want to > deploy multiple versions, I asked a question. I have installed Python > 3.10 x64. when faced with a lack of information on installing an > extension pack, it would be a good idea to highlight this in the help. > https://debian.pkgs.org/11/postgresql-amd64/postgresql-plpython3-14_14.0-1.pgdg110+1_amd64.deb.html > : This is the Debian project packages, not something the Postgres project controls. The project does control this: https://www.postgresql.org/download/linux/debian/ Which has the section "Included in distribution" that points out you may need to install additional packages. This is also pointed out here: https://www.postgresql.org/docs/current/plpython.html " Note Users of source packages must specially enable the build of PL/Python during the installation process. (Refer to the installation instructions for more information.) Users of binary packages might find PL/Python in a separate subpackage. " > After that, I have successfully installed the extension and executed the > audit function Does this mean everything is working now? > > сб, 23 окт. 2021 г. в 09:04, Adrian Klaver >: > > On 10/22/21 19:58, Дмитрий Иванов wrote: > > Good afternoon. Tell me what version of Python3 PostgreSQL 14 is > > targeting. I had problems with pairing version 12, working on 3.7.4 > > 1) Where did you install Postgres from? > > 2) Define problems. > > 3) To be clear you are trying to use plpython3u, correct? > > > -- > Adrian Klaver > adrian.klaver@aklaver.com > -- Adrian Klaver adrian.klaver@aklaver.com