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 1m9Acz-0007Xj-GG for pgsql-hackers@arkaria.postgresql.org; Thu, 29 Jul 2021 18:19:29 +0000 Received: from localhost ([127.0.0.1] helo=malur.postgresql.org) by malur.postgresql.org with esmtp (Exim 4.92) (envelope-from ) id 1m9Acy-00086k-EH for pgsql-hackers@arkaria.postgresql.org; Thu, 29 Jul 2021 18:19:28 +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 1m9Acx-00086c-Im for pgsql-hackers@lists.postgresql.org; Thu, 29 Jul 2021 18:19:28 +0000 Received: from wout1-smtp.messagingengine.com ([64.147.123.24]) by makus.postgresql.org with esmtps (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1m9Acv-0003U0-AM for pgsql-hackers@lists.postgresql.org; Thu, 29 Jul 2021 18:19:26 +0000 Received: from compute2.internal (compute2.nyi.internal [10.202.2.42]) by mailout.west.internal (Postfix) with ESMTP id 929F332005CA; Thu, 29 Jul 2021 14:19:22 -0400 (EDT) Received: from mailfrontend2 ([10.202.2.163]) by compute2.internal (MEProxy); Thu, 29 Jul 2021 14:19:22 -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=FtKXw9CrcOAJ41aw5Ypcs+Kyg0MII3PP/1hlLpGdGi8=; b=YJTllRJ7 n+q9XVJ+2GcdPmGOWCAetQVmS+7ArH+nN1XAM4tiHlXzasW182cVakeNloPOeZwL D8emqreNoUmggH5vkDDB9JlDEi3UgEcAW+cdOrkOJ9KALfVEOilxQIX5G/PNRSom ZRIPbyM7jSKdK6klsmzjUVC/AZx2hBx55DWZzspaJr5BJLGH7XHQoazRo/B155OP 0/h6djrcb0NZWddOex9DplI4uZ0G4IgcqDUSLGsY+ovL3mTg4jAW1QzkMDsT5D4i gILAcgsxfQGNoxNA1zVnAZ27/EDUVmtLw09t9N+7w3H7TEaWL6aOLRdj1Z2zJa/6 I7NIDrcUcKV5qg== X-ME-Sender: X-ME-Received: X-ME-Proxy-Cause: gggruggvucftvghtrhhoucdtuddrgedvtddrheefgdejiecutefuodetggdotefrodftvf curfhrohhfihhlvgemucfhrghsthforghilhdpqfgfvfdpuffrtefokffrpgfnqfghnecu uegrihhlohhuthemuceftddtnecusecvtfgvtghiphhivghnthhsucdlqddutddtmdenuc fjughrpeffhffvuffkgggtugfgjgesthekredttddtjeenucfhrhhomheptehlvhgrrhho ucfjvghrrhgvrhgruceorghlvhhhvghrrhgvsegrlhhvhhdrnhhoqdhiphdrohhrgheqne cuggftrfgrthhtvghrnhepudejveejffejveduudetvdekieeuiedtvdeileefkeevjedu feeguedvjefhueelnecuffhomhgrihhnpegvnhhtvghrphhrihhsvggusgdrtghomhenuc evlhhushhtvghrufhiiigvpedtnecurfgrrhgrmhepmhgrihhlfhhrohhmpegrlhhvhhgv rhhrvgesrghlvhhhrdhnohdqihhprdhorhhg X-ME-Proxy: Received: by mail.messagingengine.com (Postfix) with ESMTPA; Thu, 29 Jul 2021 14:19:21 -0400 (EDT) Received: by perhan.alvh.no-ip.org (Postfix, from userid 1000) id E24002A09BD; Thu, 29 Jul 2021 14:19:17 -0400 (-04) Date: Thu, 29 Jul 2021 14:19:17 -0400 From: Alvaro Herrera To: Dave Cramer Cc: Bruce Momjian , "David G. Johnston" , Tom Lane , PostgreSQL Hackers Subject: Re: pg_upgrade does not upgrade pg_stat_statements properly Message-ID: <202107291819.ewb44frhsac6@alvherre.pgsql> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Disposition: inline Content-Transfer-Encoding: 8bit In-Reply-To: List-Id: List-Help: List-Subscribe: List-Post: List-Owner: List-Archive: Archived-At: Precedence: bulk On 2021-Jul-29, Dave Cramer wrote: > > I suggest "can be upgraded" rather than "should be upgraded" because > > we're not making a recommendation, merely stating the fact that it is > > possible to do so. > > Why not recommend it? I was going to suggest that we actually run alter > extension upgrade ... on all of them as a solution. > > What are the downsides to upgrading them all by default ? AFAIK if they > need upgrading this should run all of the SQL scripts, if they don't then > this should be a NO-OP. I'm not aware of any downsides, and I think it would be a good idea to do so, but I also think that it would be good to sort out the docs precisely (a backpatchable doc change, IMV) and once that is done we can discuss how to improve pg_upgrade so that users no longer need to do that (a non-backpatchable code change). Incremental improvements and all that ... -- Álvaro Herrera Valdivia, Chile — https://www.EnterpriseDB.com/ "La libertad es como el dinero; el que no la sabe emplear la pierde" (Alvarez)