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 1kM7y1-0008Ln-E3 for pgsql-general@arkaria.postgresql.org; Sat, 26 Sep 2020 11:02:13 +0000 Received: from localhost ([127.0.0.1] helo=malur.postgresql.org) by malur.postgresql.org with esmtp (Exim 4.92) (envelope-from ) id 1kM7y0-000814-Dv for pgsql-general@arkaria.postgresql.org; Sat, 26 Sep 2020 11:02:12 +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 1kM7up-000304-TQ for pgsql-general@lists.postgresql.org; Sat, 26 Sep 2020 10:58:55 +0000 Received: from mail-ej1-x641.google.com ([2a00:1450:4864:20::641]) by magus.postgresql.org with esmtps (TLS1.3:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.92) (envelope-from ) id 1kM7un-0002hx-Fu for pgsql-general@lists.postgresql.org; Sat, 26 Sep 2020 10:58:55 +0000 Received: by mail-ej1-x641.google.com with SMTP id o8so1990880ejb.10 for ; Sat, 26 Sep 2020 03:58:53 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=from:content-transfer-encoding:mime-version:subject:date:references :to:in-reply-to:message-id; bh=me3KRnVZOi32/7rWjEbSdfgUf7kjq/6o/9pc++V1PqM=; b=UGjpYaVXFnN12i3A4CvrIxDFsV3BwRRqyIpWEgHc/3CVNKsGMaDAU+NfnSo1IbV0I1 9VlAasccas+gy8CdxYVvmbeVitchshFwlfZPmpYC7RVVabPdAQL6M069vVb0Mz4Q2hTB lD6nURO3k3TozcNlm/+Wz4RQ/c21b5eElGpu23mX+2roXVC/Yb3MPSAPqqlHDN/jziW0 Thpw/Vk8+xVnLtMhjxI3b/4m8CfEqCnj5fL4x42c4eG3e8jGKnGfI+QkLm0lKiqRgtWM zaagfIucEYZ3qnStARFf6YyM3AHs2/7A8NcZLEqcjTM90deXORP5N4PnNcjHfsNawPmy ty7g== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:content-transfer-encoding:mime-version :subject:date:references:to:in-reply-to:message-id; bh=me3KRnVZOi32/7rWjEbSdfgUf7kjq/6o/9pc++V1PqM=; b=FoJKySgQVDaCdT8/+cYx3KKqAOoESmUFytGqB/PyyY6Cb0iH945LhUWqALGjhI7P3U MduGglH+6Z34iydAD9DBdtgEGwwprnksNTMRaoAh7mtfdPl4cz8d4LXv5lv65qSc5D1V upW4luX3fkN/YgKAYuERc56MVDea8zf2LvdlRVwkxV5YmU6+kE9umN+nnEfZw4d7+k2n Z6OYxYLgRYCmVVcHpeH7Nvt3lDjEhwcTgAWBF6Sqmv7d2Rop9TjVdzQ9fhtWyp/LoHFq 9CYedJJkYyOZr29ZAD3TWjTKONdiRtJ8sQcSOs0sCT+IH3uhuuN4UjjSN2vgPNvbY/YP +kNw== X-Gm-Message-State: AOAM530cn+DeC9dFt5qWHDM+P/RKb5KvJ+Y+TjE7sTdFBh3FxXUflSs/ ei7I+laTIH0kuxVnlTVDqiY+J7u7OsI= X-Google-Smtp-Source: ABdhPJz9RvFV+JO5+11jpzePMMM8ZYtNCp3oxVRN7aOtPogd2w+HOHfFdvmI5kNwReE5QGEHITUmhw== X-Received: by 2002:a17:906:cc8d:: with SMTP id oq13mr6810988ejb.280.1601117932149; Sat, 26 Sep 2020 03:58:52 -0700 (PDT) Received: from [192.168.1.8] (241-57-239-77.dyn.cable.fcom.ch. [77.239.57.241]) by smtp.gmail.com with ESMTPSA id u13sm4000720ejn.82.2020.09.26.03.58.51 for (version=TLS1_2 cipher=ECDHE-ECDSA-AES128-GCM-SHA256 bits=128/128); Sat, 26 Sep 2020 03:58:51 -0700 (PDT) From: =?utf-8?Q?Paul_F=C3=B6rster?= Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Mime-Version: 1.0 (Mac OS X Mail 13.4 \(3608.120.23.2.4\)) Subject: Re: pg_upgrade Python version issue on openSUSE Date: Sat, 26 Sep 2020 12:58:51 +0200 References: <553A044A-D0E3-475D-8DC0-5845381CB086@gmail.com> <1FB046FC-BE42-4D66-B0AE-E94B6CB9498E@gmail.com> To: PostgreSQL General In-Reply-To: <1FB046FC-BE42-4D66-B0AE-E94B6CB9498E@gmail.com> Message-Id: <06317862-1908-48C7-8766-F6D1B4BFEB9F@gmail.com> X-Mailer: Apple Mail (2.3608.120.23.2.4) List-Id: List-Help: List-Subscribe: List-Post: List-Owner: List-Archive: Precedence: bulk Hi, > On 26. Sep, 2020, at 11:42, Paul F=C3=B6rster = wrote: >=20 > the two things I forgot to mention are: >=20 > a) the versions I will be upgrading from are 11.9 and 12.4. The above = thing happens with 12.4. Since I didn't check 11.9 yet, I cannot say if = it appears there too. >=20 > b) the 12.4 software also does not have plpython2 files in its lib64 = directory. Both only have plpython3.so: >=20 > $ ll /data/postgres/*/lib64/plpython* > -rwxr-xr-x 1 postgres dba 151672 Aug 13 16:28 = /data/postgres/12.4/lib64/plpython3.so > -rwxr-xr-x 1 postgres dba 151544 Sep 26 10:38 = /data/postgres/13.0/lib64/plpython3.so >=20 > Any help would be appreciated. Thanks very much in advance. seems, I found some kind of solution: - before running "pg_upgrade --check -k": drop extension plpythonu; - run pg_upgrade - after the upgrade: create extension plpython3u; Is this the correct way? Cheers, Paul=