Received: from malur.postgresql.org ([217.196.149.56]) by arkaria.postgresql.org with esmtps (TLS1.3) tls TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384 (Exim 4.94.2) (envelope-from ) id 1rh7wQ-009k7G-Du for pgsql-committers@arkaria.postgresql.org; Mon, 04 Mar 2024 13:01:15 +0000 Received: from localhost ([127.0.0.1] helo=malur.postgresql.org) by malur.postgresql.org with esmtp (Exim 4.94.2) (envelope-from ) id 1rh7wN-007kkr-VR for pgsql-committers@arkaria.postgresql.org; Mon, 04 Mar 2024 13:01:12 +0000 Received: from magus.postgresql.org ([2a02:c0:301:0:ffff::29]) by malur.postgresql.org with esmtps (TLS1.3) tls TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384 (Exim 4.94.2) (envelope-from ) id 1rh7wN-007kkj-Md for pgsql-committers@lists.postgresql.org; Mon, 04 Mar 2024 13:01:12 +0000 Received: from smtp.outgoing.loopia.se ([93.188.3.37]) by magus.postgresql.org with esmtps (TLS1.3) tls TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384 (Exim 4.94.2) (envelope-from ) id 1rh7wI-002ike-57 for pgsql-committers@lists.postgresql.org; Mon, 04 Mar 2024 13:01:11 +0000 Received: from s807.loopia.se (localhost [127.0.0.1]) by s807.loopia.se (Postfix) with ESMTP id 0A6392FFE85F for ; Mon, 4 Mar 2024 14:01:05 +0100 (CET) Received: from s980.loopia.se (unknown [172.22.191.6]) by s807.loopia.se (Postfix) with ESMTP id EF1F52E29980; Mon, 4 Mar 2024 14:01:04 +0100 (CET) Received: from s474.loopia.se (unknown [172.22.191.5]) by s980.loopia.se (Postfix) with ESMTP id ED30A22016C0; Mon, 4 Mar 2024 14:01:04 +0100 (CET) X-Virus-Scanned: amavisd-new at amavis.loopia.se X-Spam-Flag: NO X-Spam-Score: -1.21 X-Spam-Level: X-Spam-Status: No, score=-1.21 tagged_above=-999 required=6.2 tests=[ALL_TRUSTED=-1, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, T_SCC_BODY_TEXT_LINE=-0.01] autolearn=disabled Authentication-Results: s474.loopia.se (amavisd-new); dkim=pass (2048-bit key) header.d=yesql.se Received: from s980.loopia.se ([172.22.191.6]) by s474.loopia.se (s474.loopia.se [172.22.190.14]) (amavisd-new, port 10024) with LMTP id ZqUX4Qffk5ld; Mon, 4 Mar 2024 14:01:04 +0100 (CET) X-Loopia-Auth: user X-Loopia-User: daniel@yesql.se X-Loopia-Originating-IP: 89.255.232.193 Received: from smtpclient.apple (customer-89-255-232-193.stosn.net [89.255.232.193]) (Authenticated sender: daniel@yesql.se) by s980.loopia.se (Postfix) with ESMTPSA id 5A02122016EA; Mon, 4 Mar 2024 14:01:04 +0100 (CET) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=yesql.se; s=loopiadkim1707475645; t=1709557264; bh=yE4FyQYmhqtucFuPosLHbXMKP8PVel/c88l8qNUtoQc=; h=Subject:From:In-Reply-To:Date:Cc:References:To; b=WyASry8nuVsdWXSDc443DOjDbSXlzxFml1kja7LdGr1wdXzbeWP+yf0FImmF7DQFj 3onMU+q1gn6y+y6I2h79COiTbtx8HiD3gso5uOMx7RA0qMn73jOp+CyW1+ayi1vBlG 6sv9/l66nnTu5vspyCX9UV9ZrNqi7Uj/svaZEu7fs1HTUl1Vpuh1ZIJ2iL0aVwmqoZ kZBoItnpIsCYP0LAJlvMsu8opCJaYk9QnYz5Keuw3CI0mWAgp6odcOeNiEq/C09NzG 1e85HQPH0wU5kwkZxqUrDJvl0mNx/mkDSRxwupFN2D0RVsDFWu6QT0X9J1nGCso2Pu b0iymLfRSeVXw== Content-Type: text/plain; charset=us-ascii Mime-Version: 1.0 (Mac OS X Mail 16.0 \(3696.120.41.1.4\)) Subject: Re: pgsql: Remove the adminpack contrib extension From: Daniel Gustafsson In-Reply-To: Date: Mon, 4 Mar 2024 14:01:03 +0100 Cc: pgsql-committers@lists.postgresql.org Content-Transfer-Encoding: quoted-printable Message-Id: <0CFB76D0-0510-48B2-9916-1199F93BC28C@yesql.se> References: To: Daniel Gustafsson X-Mailer: Apple Mail (2.3696.120.41.1.4) List-Id: List-Help: List-Subscribe: List-Post: List-Owner: List-Archive: Archived-At: Precedence: bulk > On 4 Mar 2024, at 12:43, Daniel Gustafsson = wrote: >=20 > Remove the adminpack contrib extension The pg_upgrade Xversion test on crake failed on this, I'm trying to = reproduce the cross-version test locally to verify the below diff but it's right = now failing on an unrelated thing. If anyone has a working setup locally to = test I would love the below taken for a spin against something in 16->12. diff --git a/src/test/perl/PostgreSQL/Test/AdjustUpgrade.pm = b/src/test/perl/PostgreSQL/Test/AdjustUpgrade.pm index c0da0aaff8..8dc1a65e3d 100644 --- a/src/test/perl/PostgreSQL/Test/AdjustUpgrade.pm +++ b/src/test/perl/PostgreSQL/Test/AdjustUpgrade.pm @@ -106,6 +106,16 @@ sub adjust_database_contents 'drop extension if exists test_ext7'); } =20 + # we removed the adminpack extension in v17 + if ($old_version >=3D 12 && $old_version < 17) + { + _add_st($result, 'regression', + 'drop extension if exists adminpack'); + _add_st($result, 'postgres', + 'drop database contrib_regression_adminpack'); + delete($dbnames{'contrib_regression_adminpack'}); + } + # we removed this test-support function in v17 if ($old_version >=3D 15 && $old_version < 17) { -- Daniel Gustafsson