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 1m43zO-00073R-Q8 for pgsql-hackers@arkaria.postgresql.org; Thu, 15 Jul 2021 16:13:30 +0000 Received: from localhost ([127.0.0.1] helo=malur.postgresql.org) by malur.postgresql.org with esmtp (Exim 4.92) (envelope-from ) id 1m43zN-0001q3-PS for pgsql-hackers@arkaria.postgresql.org; Thu, 15 Jul 2021 16:13:29 +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 1m43zN-0001p4-Hd for pgsql-hackers@lists.postgresql.org; Thu, 15 Jul 2021 16:13:29 +0000 Received: from wout5-smtp.messagingengine.com ([64.147.123.21]) by makus.postgresql.org with esmtps (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1m43zL-0001Bn-EU for pgsql-hackers@lists.postgresql.org; Thu, 15 Jul 2021 16:13:28 +0000 Received: from compute6.internal (compute6.nyi.internal [10.202.2.46]) by mailout.west.internal (Postfix) with ESMTP id 04E1B3200681; Thu, 15 Jul 2021 12:13:25 -0400 (EDT) Received: from mailfrontend1 ([10.202.2.162]) by compute6.internal (MEProxy); Thu, 15 Jul 2021 12:13:26 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d= messagingengine.com; h=cc:content-transfer-encoding:content-type :date:from:in-reply-to:message-id:mime-version:subject:to :x-me-proxy:x-me-proxy:x-me-sender:x-me-sender:x-sasl-enc; s= fm3; bh=4O5SGkJTswuTkQACJpBYfvVBGBWPWDWwx1THg0N7FUo=; b=i4XB1gJZ WPXl9PqOVnDa3pNql2pGCISs4hecexd1GumaGLvM9jlry7wAHFwKwVOXfba7Fqtf IIzGUAZhyZxtfTMJKh/JcwstIfH/YbiHNVV9sqiDiN00GuZ7byGVfNt/phV9kDHF +3e3i4FVpAde2k/GTWMf7quIXpf2loYRXr5SvEy32ovDZ3V5eA/CkIA+Tz3P5OhO TtrjklppqvF8N1QqbYa4CCF1kd2XLeUKQIn7JfHRoCM8Fk832aUzV4SPJYoBw0qr fwiboWL03j7FNe5C5ycAvkecLX5DTa1ifZIZ/Pa7WTxT2FcZSq5FRxvFobRUOiJz LabbsGKXhni3AA== X-ME-Sender: X-ME-Received: X-ME-Proxy-Cause: gggruggvucftvghtrhhoucdtuddrgedvtddrvddtgdeiiecutefuodetggdotefrodftvf curfhrohhfihhlvgemucfhrghsthforghilhdpqfgfvfdpuffrtefokffrpgfnqfghnecu uegrihhlohhuthemuceftddtnecusecvtfgvtghiphhivghnthhsucdlqddutddtmdenuc fjughrpeffhffvuffkgggtugfgjgesthekredttddtjeenucfhrhhomheptehlvhgrrhho ucfjvghrrhgvrhgruceorghlvhhhvghrrhgvsegrlhhvhhdrnhhoqdhiphdrohhrgheqne cuggftrfgrthhtvghrnhepudejveejffejveduudetvdekieeuiedtvdeileefkeevjedu feeguedvjefhueelnecuffhomhgrihhnpegvnhhtvghrphhrihhsvggusgdrtghomhenuc evlhhushhtvghrufhiiigvpedtnecurfgrrhgrmhepmhgrihhlfhhrohhmpegrlhhvhhgv rhhrvgesrghlvhhhrdhnohdqihhprdhorhhg X-ME-Proxy: Received: by mail.messagingengine.com (Postfix) with ESMTPA; Thu, 15 Jul 2021 12:13:24 -0400 (EDT) Received: by perhan.alvh.no-ip.org (Postfix, from userid 1000) id 65FA82A099B; Thu, 15 Jul 2021 12:13:22 -0400 (-04) Date: Thu, 15 Jul 2021 12:13:22 -0400 From: Alvaro Herrera To: Dave Cramer Cc: "David G. Johnston" , Tom Lane , PostgreSQL Hackers Subject: Re: pg_upgrade does not upgrade pg_stat_statements properly Message-ID: <202107151613.twoxmbyro6k2@alvherre.pgsql> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Disposition: inline Content-Transfer-Encoding: 8bit In-Reply-To: <202107151611.snkxhylndxpl@alvherre.pgsql> List-Id: List-Help: List-Subscribe: List-Post: List-Owner: List-Archive: Archived-At: Precedence: bulk On 2021-Jul-15, Alvaro Herrera wrote: > On 2021-Jul-15, Dave Cramer wrote: > > > Well IMHO the status quo is terrible. Perhaps you have a suggestion on how > > to make it better ? > > I thought the suggestion of having pg_upgrade emit a file with a list of > all extensions needing upgrade in each database was a fairly decent one. Eh, and pg_upgrade [other switches] --upgrade-extensions sounds good too ... -- Álvaro Herrera 39°49'30"S 73°17'W — https://www.EnterpriseDB.com/