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 1kMSYW-0003W7-RG for pgsql-general@arkaria.postgresql.org; Sun, 27 Sep 2020 09:01:16 +0000 Received: from localhost ([127.0.0.1] helo=malur.postgresql.org) by malur.postgresql.org with esmtp (Exim 4.92) (envelope-from ) id 1kMSXz-0003PB-Ug for pgsql-general@arkaria.postgresql.org; Sun, 27 Sep 2020 09:00:43 +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 1kMSXz-0003P4-Kr for pgsql-general@lists.postgresql.org; Sun, 27 Sep 2020 09:00:43 +0000 Received: from mail-ej1-x643.google.com ([2a00:1450:4864:20::643]) by makus.postgresql.org with esmtps (TLS1.3:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.92) (envelope-from ) id 1kMSXx-0007Rd-Hy for pgsql-general@lists.postgresql.org; Sun, 27 Sep 2020 09:00:42 +0000 Received: by mail-ej1-x643.google.com with SMTP id j11so4264976ejk.0 for ; Sun, 27 Sep 2020 02:00:41 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:subject:from:in-reply-to:date:cc :content-transfer-encoding:message-id:references:to; bh=+lOBNZjCMc9FXUA1h0BBAOg9Y3yW3DHkjBTL8MLt14g=; b=MGpfG5BTP662Xl/dHcUK0cNd9W16rVliSjhekyUXc2CKp1HseUfy4+aws63dLVWqZf GzFCm1oNN2eCutPtHMyMavtz1+hTR613DKbJik4aB23nk7FC7iKP93cUla+Cgy5CbYpW RRXLscWZCd7TzInCN2U5YZrwlgoVkquNsNXN5NatyGtwvmKPp57r9eNZdh+nYDB4rRnj lR/VhHxG6GtsUL/2saJoNiH/pSCFWB1NqZAhRyjnTfn3S1yzo8BLVJs+FC7zeDP7HNaO wcUkHOkRps0c8nO+Qkya0dTNJa9SfDPjFb7BD8666AXmZfj7nMBLhbIDl24d15TYTzpI Npcw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:subject:from:in-reply-to:date:cc :content-transfer-encoding:message-id:references:to; bh=+lOBNZjCMc9FXUA1h0BBAOg9Y3yW3DHkjBTL8MLt14g=; b=Uvp6W4IGAuTfBaXRDndcNlTJoQjdB2u9aUpvBy9RLt5HHWx0tJr+8yxmSUKSl8XAwN ekTEjhQqg6wiZA/HCaEFv1ZLBw2+2fgGIZ3ZPZ9Y80TJO3HAlY6blDd121iyy4FFV30r UKxi/ZlHym1OiMVXb1BoV/+QEbMGdyEfZ3r4EQ4XwKT914mdZ2Fuvm94EglxjWniRVA7 mFlXy9TDu9Jj9VWYG3JUC8/2KWlZmZ7DEbYBi/sabWd0oC5ljhM2O7USfW7TDnc8a3+X IktASIzhAikN8s2ITkNqUtF2uldM/xVzYUCsP6GeK1imeW4aVcIbf/jj2agZHWUoJFiH vTtA== X-Gm-Message-State: AOAM532KpQl0BUfYXVJeWAyYCY71CCOR7QwGHINRqUQCcoDME0zxQt1i znlVY4SSID5H5kYZhh2KIgQ= X-Google-Smtp-Source: ABdhPJyyX+59AubBsbqiuT6R9xGsXVsDpGcF8/mhi/zRuheI7JD1tMoBTfkicevQNIjQUkT92A9cNQ== X-Received: by 2002:a17:906:a256:: with SMTP id bi22mr10412724ejb.375.1601197240170; Sun, 27 Sep 2020 02:00:40 -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 p5sm5929889ejd.56.2020.09.27.02.00.39 (version=TLS1_2 cipher=ECDHE-ECDSA-AES128-GCM-SHA256 bits=128/128); Sun, 27 Sep 2020 02:00:39 -0700 (PDT) Content-Type: text/plain; charset=us-ascii Mime-Version: 1.0 (Mac OS X Mail 13.4 \(3608.120.23.2.4\)) Subject: Re: pg_upgrade Python version issue on openSUSE From: =?utf-8?Q?Paul_F=C3=B6rster?= In-Reply-To: Date: Sun, 27 Sep 2020 11:00:39 +0200 Cc: Tom Lane , PostgreSQL General Content-Transfer-Encoding: quoted-printable Message-Id: <2EFE8070-928B-4444-9D05-FD56F30D7F79@gmail.com> References: <553A044A-D0E3-475D-8DC0-5845381CB086@gmail.com> <1FB046FC-BE42-4D66-B0AE-E94B6CB9498E@gmail.com> <06317862-1908-48C7-8766-F6D1B4BFEB9F@gmail.com> <1990004.1601129252@sss.pgh.pa.us> <9D64B513-77D4-41D9-87E5-0727FAF96C84@gmail.com> To: Adrian Klaver 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 Adrian, > On 27. Sep, 2020, at 00:09, Adrian Klaver = wrote: > Could it be that at some point in these instances history plpython* = where installed as CREATE LANGUAGE and you are dealing with the vestiges = of that? I do know for sure that that never happened because the database = clusters with this effect are my personal test databases and I never = used Python. I did some tests with plperl and plperlu, though, but never = python, because I don't "speak" python. What is possible is, those databases are clones of a Patroni cluster = database (primary) I used to experiment with. I just copied them to new = PGDATAs back then and changed PGPORT of course. I know, I could have = done initdb and pg_dumpall but just copying the whole database cluster = was the fast way to go, even more so as the PostgreSQL software was = exactly the same. Just PGDATA and PGPORT changed for the clone. =46rom = what I know this is a perfectly legal way to do it as long as the source = database cluster is properly shut down during the copy process. Maybe Patroni did it then implicitly? I'm not sure how Patroni works = internally but I know that it is written in Python. Maybe it does = install something in the database which I don't know and can't find? I = tried searching for anything owned by "replicator" but can't find = anything. > Are you able to go back and reconstruct them and then do \dL = (languages) and \dx (extensions)? The machine in question is my personal test box at home. I don't do = regular backups there. If I break something I just reinstall it. So = going back into the past with backups is not possible for me. The only = thing that I kept running a long time now is the Patroni cluster because = I have some data stored in it. But this is the only "history" there is. = However, \dx and \dL do not show any Python extension or language on the = Patroni cluster too, which is still 12.4. Still, thanks for helping. Cheers, Paul=