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 1l8ma2-0006rK-C9 for pgsql-admin@arkaria.postgresql.org; Sun, 07 Feb 2021 16:06:34 +0000 Received: from localhost ([127.0.0.1] helo=malur.postgresql.org) by malur.postgresql.org with esmtp (Exim 4.92) (envelope-from ) id 1l8mZy-0000Cg-LG for pgsql-admin@arkaria.postgresql.org; Sun, 07 Feb 2021 16:06:30 +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 1l8mZy-0000CU-CJ for pgsql-admin@lists.postgresql.org; Sun, 07 Feb 2021 16:06:30 +0000 Received: from mout.gmx.net ([212.227.17.20]) by magus.postgresql.org with esmtps (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1l8mZs-000362-0a for pgsql-admin@lists.postgresql.org; Sun, 07 Feb 2021 16:06:29 +0000 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=gmx.net; s=badeba3b8450; t=1612713981; bh=dc08wS742xPenXTTewOrrXuUmVBDn7QBMdmG+hrKMfM=; h=X-UI-Sender-Class:Subject:To:Cc:References:From:Date:In-Reply-To; b=cGElmwSoyUZAmfCWbP5VSUTAouEYeYb5IfomCuGhf8BVsRX2e67Cr0qFhzd1nIs4m 4u8e27CX72OxMJFXLNFkCx78qVTBRJ4J90l1n/ZQGV2vXFDJcxpLfwhH4ZTMNe54KW 2ZTAZYa0O8tvtZRdkn9fBA0Bmt+W8jQUBBFzKebQ= X-UI-Sender-Class: 01bb95c1-4bf8-414a-932a-4f6e2808ef9c Received: from [192.168.178.20] ([83.171.171.245]) by mail.gmx.net (mrgmx104 [212.227.17.168]) with ESMTPSA (Nemesis) id 1MYeR1-1lMvIk31tr-00VdkW; Sun, 07 Feb 2021 17:06:21 +0100 Subject: Re: pg_upgrade(?) not cleaning up old extensions To: "pgsql-admin@lists.postgresql.org" Cc: Jeff Janes References: <61ea1e0b-442d-e6c8-1728-916f8376aa11@gmx.net> From: Thomas Kellerer Message-ID: <4262c6e7-e8fd-d1d9-fc1f-a419403a4cb4@gmx.net> Date: Sun, 7 Feb 2021 17:06:22 +0100 User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; de; rv:1.8.1.21) Gecko/20090302 Thunderbird/2.0.0.21 Mnenhy/0.7.5.666 MIME-Version: 1.0 In-Reply-To: Content-Type: text/plain; charset=utf-8; format=flowed Content-Language: de-DE Content-Transfer-Encoding: quoted-printable X-Provags-ID: V03:K1:DXYJ+A8BlqFc5Qp26TPQZEXvI1RHae0eYkrENfpFhhyqu7M0OM3 nvrt92j6IB+o35rJCPUXTqrapQ6bleNCWvDGIY2Y7cihZDem0OpZAEXlsD2tpwt7qrxiY4I /pA1Bj5MJKWjifSauuJ4wCavWoTxyw88otSTu1CPpskkVVpRONlKzez97F7U05lQVtdGm2f KVmtU+bLPrxeuk+Ysxyyg== X-Spam-Flag: NO X-UI-Out-Filterresults: notjunk:1;V03:K0:uABK67Fa2H0=:dHK4wDDcAkI9yxTrAGcmtm G6vFj2spxgSlT1Y/iURWWdW9K6V6t+9yab+5GtlgqgyYVPxRdLLRWPiZOtQO2mdXwdnzI9pas wIeI95jkUIM0gTDA+3BipNCXsWiaKa0nzPXImvRYU7vlkmVPqEeuOxKRZX3So3gB8Lnarg/yv dJQhFuTNrvI07nNju0LM9mpUpHya0WqkLrVyzUIISnICvC8ThHsyB8qTWaZJMp8xYOTtWVJKN OLcijArEItR46esEawpBMfLvWcgcLjbJdL3lMVkt2mk4JBBwEBCYwR5WqY9V3wI9Qm3VEF4+g 4E8k9qwR4EyYxCYJfdFf6IISnKtujFmNtEr5SnQr5VgArVABQfWwuqyPa0hhZPoSimhy2sZ7R P9qr5TVCJI1oBfJ1ohVd91PoM0kzPkfBMW+eQJCrbP+JDpJ/hwQvC7Qufk1vagn/YqeSfDeWb emUYZJAkWCN8nBJ/QAcAkcVn3ERb4CHeOefT/+iw5GTHURo9neIHPPEFuEKmZpRCxVGlvYOot knVkFb4hlckXvqk77y27pahBAzI2td9uNinYFK2HyqGl7tK0Y6PRJ8stxj+CR1xH9EXnUQg1H 9li5IIka8WZ5z/AJfsaVuqUdCCvYstg9hVvc+iC/qH5R17sh1lB43oot1s76avJVPYumuo4tT UtoT6AYAWJta1FYRe5TnriBQxAO1ssn+XPnN8dFcDlVBwzja99N1WqGSyK0igNctper8XyFlJ cEa1R9CNITk9LnS3Vl/fI6r1QzhYrvfXVhGWmgy3bp5dWrDlxj1rqOMbyxEYWq77zBBLNkRkk 92zrzwHxZ3j6ZDh1pVd2bFN7LI654cBvW0KBqeglqwlEAgVXsd38UR+Dsfag6r8fVoItbuK0F NLem2tnkDmYW+3iDn5ow== List-Id: List-Help: List-Subscribe: List-Post: List-Owner: List-Archive: Precedence: bulk Jeff Janes schrieb am 06.02.2021 um 19:42: > On Sat, Feb 6, 2021 at 7:24 AM Thomas Kellerer > wrote: > > Hello, > > I have a (test) database that has been upgraded several times from 9= .4 to 13 using pg_upgrade. > > I have noticed that when I look at pg_available_extensions many exte= nsions are listed with multiple versions even though only the latest one i= s actually used. > > > I can't reproduce this.=C2=A0 Are you sure you aren't looking at=C2=A0pg= _available_extension_versions ?=C2=A0 Could you show some example output? Hmm, I could have sworn I was looking at pg_available_extensions - but may= be I wasn't. But as I can't reproduce this after a dump & reload and it's really not a = big deal, let's just assume I was indeed using the wrong view. Thomas