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 1qiOPu-006I3h-20 for pgsql-bugs@arkaria.postgresql.org; Tue, 19 Sep 2023 00:16:38 +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 1qiOPr-004lJI-Kh for pgsql-bugs@arkaria.postgresql.org; Tue, 19 Sep 2023 00:16:35 +0000 Received: from makus.postgresql.org ([2001:4800:3e1:1::229]) by malur.postgresql.org with esmtps (TLS1.3) tls TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384 (Exim 4.94.2) (envelope-from ) id 1qiOPq-004lIv-ID for pgsql-bugs@lists.postgresql.org; Tue, 19 Sep 2023 00:16:35 +0000 Received: from out1-smtp.messagingengine.com ([66.111.4.25]) by makus.postgresql.org with esmtps (TLS1.3) tls TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384 (Exim 4.94.2) (envelope-from ) id 1qiOPn-005LXZ-Ke for pgsql-bugs@lists.postgresql.org; Tue, 19 Sep 2023 00:16:33 +0000 Received: from compute6.internal (compute6.nyi.internal [10.202.2.47]) by mailout.nyi.internal (Postfix) with ESMTP id 6FEF35C0114; Mon, 18 Sep 2023 20:16:30 -0400 (EDT) Received: from mailfrontend2 ([10.202.2.163]) by compute6.internal (MEProxy); Mon, 18 Sep 2023 20:16:30 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=paquier.xyz; h= cc:cc:content-type:content-type:date:date:from:from:in-reply-to :in-reply-to:message-id:mime-version:references:reply-to:sender :subject:subject:to:to; s=fm2; t=1695082590; x=1695168990; bh=OH ATr4H7HWpnu1ItXB5aO+Up7/4VpXeUqU3RBN2LHdI=; b=boCF0YVwsVKFVe7URm DCxLzFVkP06NKLx+r5WDqb6qJUUazUVFH3oCrKWuS6VWU+/D3DmcBD/zlGhsOHk9 U5TJ43mjvyidx/CBbwKPWv7pmPh7uVSjYZPRZmZLOBC2BT+uPuJOUh0is8yUJw5y RFXI6c1z7/Og5zmr079eLN64LI7dVgRmYLN4EHUrNyjc6FV/B8UmZc06QXKGjrWE uG3xUvgW++EswvhoboDJ0qFrrzmrmCnJCQ/yc+C1wp6h3+HuQ2qVG3C1A02bafwN uMlQNM1k9qeL16GcOCidTc84f1cQneetT9L+CBqPW95MrIsHjDES0gb/qRxN5DoD liJQ== DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d= messagingengine.com; h=cc:cc:content-type:content-type:date:date :feedback-id:feedback-id:from:from:in-reply-to:in-reply-to :message-id:mime-version:references:reply-to:sender:subject :subject:to:to:x-me-proxy:x-me-proxy:x-me-sender:x-me-sender :x-sasl-enc; s=fm2; t=1695082590; x=1695168990; bh=OHATr4H7HWpnu 1ItXB5aO+Up7/4VpXeUqU3RBN2LHdI=; b=KDSpvfjqaK151u0zvFmacrfjVr9x6 Mi0cR5SCrpdGhHmgHqkhZNOKIsFnsWjj1Mm1V9OHmhOvLoJsZHwh4MTXazm7QSx8 tazldjBcOM++qh/AO1+vgygS0kv/iqdF17s0w9wF1DXmkrgUo0CH/t6JP1PbXiqY iDjNFUNYm687Iwa8055QPP6rXBev6BwICGwceMLoAzdsXq39tOh0z7KlhLATpToD iFcAYAWM9DRMXtKG1MzjlBgkwB5AgtOrY3Xhbd54fttd1P4VkvwLW4a0agYLckdM tAEFZSpsc773dXziGN2jtBxx3xU2QdNI+HtYb3sUtsdi0eXa4c2nfAbhA== X-ME-Sender: X-ME-Received: X-ME-Proxy-Cause: gggruggvucftvghtrhhoucdtuddrgedviedrudejledgfeefucetufdoteggodetrfdotf fvucfrrhhofhhilhgvmecuhfgrshhtofgrihhlpdfqfgfvpdfurfetoffkrfgpnffqhgen uceurghilhhouhhtmecufedttdenucgfrhhlucfvnfffucdlfeehmdenucfjughrpeffhf fvvefukfhfgggtuggjsehgtderredttddvnecuhfhrohhmpefoihgthhgrvghlucfrrghq uhhivghruceomhhitghhrggvlhesphgrqhhuihgvrhdrgiihiieqnecuggftrfgrthhtvg hrnhepheejfeekgeeiledtgedtvdegieehvefglefhhfekgffhtddvleefgfefveeuhfeh necuffhomhgrihhnpegrmhgriihonhdrtghomhenucevlhhushhtvghrufhiiigvpedtne curfgrrhgrmhepmhgrihhlfhhrohhmpehmihgthhgrvghlsehprghquhhivghrrdighiii X-ME-Proxy: Feedback-ID: i0fe9450f:Fastmail Received: by mail.messagingengine.com (Postfix) with ESMTPA; Mon, 18 Sep 2023 20:16:28 -0400 (EDT) Date: Tue, 19 Sep 2023 09:16:26 +0900 From: Michael Paquier To: Tom Lane Cc: vasilgiann@gmail.com, pgsql-bugs@lists.postgresql.org Subject: Re: BUG #18115: pg_restore of extensions does not respect dependencies Message-ID: References: <18115-e1bb51d5c161484e@postgresql.org> <113531.1695045536@sss.pgh.pa.us> MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha512; protocol="application/pgp-signature"; boundary="jDzpQzzRuZu4Zla2" Content-Disposition: inline In-Reply-To: <113531.1695045536@sss.pgh.pa.us> List-Id: List-Help: List-Subscribe: List-Post: List-Owner: List-Archive: Archived-At: Precedence: bulk --jDzpQzzRuZu4Zla2 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline On Mon, Sep 18, 2023 at 09:58:56AM -0400, Tom Lane wrote: > I don't know anything about aws_s3, but the only inter-extension > dependencies that are tracked by PG are those that are declared > in the extension control files (via "requires" entries). > Sounds to me like aws_s3 has failed to declare its dependency > on plpgsql. This is something specific to RDS per the AWS docs: https://docs.aws.amazon.com/AmazonRDS/latest/UserGuide/USER_PostgreSQL.S3Import.html So, yes, that's something to take to them to make sure that the dependency ordering is correctly tracked, I guess. -- Michael --jDzpQzzRuZu4Zla2 Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iQIzBAABCgAdFiEEG72nH6vTowiyblFKnvQgOdbyQH0FAmUI6FoACgkQnvQgOdby QH3BMRAAqBoC94bpW9fdnDxiugVM/0AjmsGb2Y57u7fZy/RuoM3PzxoUqxMWqUjl ge2N4NCBchEd1bSnPWAezIB6PhTDSMqEV+7rvbo3AwFc1KcC5/yaqS2svLWBr/Is BVGONMsHuCEEUoWORKNMtiu170FPPjzf9xHPn7rJzxBlYOnq/cvMIm9rWgDexF45 UoJzR7PIli17CQiXlvYNU+uJEAev2JBJvdse7CJRYW+XGNBVOoTn80KfaYbC3iYt VQTrRO1o/1dija82QSqD3HNfgCKaMY5odRF3WKsRzbY96WMIGRacM3cw04j4mzuy smbYz6aPSKJFWwEvh9gY8H2DQRqx0/wxD/ct4c8QRFnIwpLgTil1Q+Jn2gTTizk3 qp1amDDArk083x1A/m3LUsDJt1sa5zRrRrotIg+K9XSo4XBVV494J6mIKpcLPhV9 /PN9oYSsl63cTuvItSu1jOhCdYD/nVIRxn0uIOM84NHSd67VCrkF8+Qsit1D7eQ+ rVl9IHRP1zAUXYfZa1oOxyQb2I1uGIzG/1q7jcpftc98zEe2Dz1mco2vu4TfKfRP /jNHbbpMv8oFOH9zQsLjyvjuUVtCUMN9vfwkr6mncslZwRvlUqgCKvG6+K7Q2hJV Kxrm8Mu+uoFfq0TszP2bjReUW1a57ab5n+3xTxFI+ymwdM0gfu0= =EbVP -----END PGP SIGNATURE----- --jDzpQzzRuZu4Zla2--