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 1rr4FQ-00FVvX-B1 for pgsql-hackers@arkaria.postgresql.org; Sun, 31 Mar 2024 23:05:56 +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 1rr4ER-00DflI-CG for pgsql-hackers@arkaria.postgresql.org; Sun, 31 Mar 2024 23:04:55 +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 1rr4ER-00DflA-2m for pgsql-hackers@lists.postgresql.org; Sun, 31 Mar 2024 23:04:55 +0000 Received: from sss.pgh.pa.us ([68.162.161.243]) by makus.postgresql.org with esmtps (TLS1.3) tls TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384 (Exim 4.94.2) (envelope-from ) id 1rr4EN-007Voj-LR for pgsql-hackers@lists.postgresql.org; Sun, 31 Mar 2024 23:04:53 +0000 Received: from sss1.sss.pgh.pa.us (localhost [127.0.0.1]) by sss.pgh.pa.us (8.15.2/8.15.2) with ESMTP id 42VN4lep840212; Sun, 31 Mar 2024 19:04:47 -0400 From: Tom Lane To: Corey Huinker cc: Magnus Hagander , Jeff Davis , Stephen Frost , Ashutosh Bapat , Matthias van de Meent , Peter Smith , PostgreSQL Hackers , Tomas Vondra Subject: Re: Statistics Import and Export In-reply-to: References: <54f190b6c757da2a33cce811949e9dd9601fcba7.camel@j-davis.com> <1632327b74a734f8c434eb75e824160d2b06a697.camel@j-davis.com> <16412b8b7ae443cb7470006beff3011927048860.camel@j-davis.com> <1b1bd1ec39ab3de09a17bf7b241021067e5bd63c.camel@j-davis.com> <2bce855db8259c5672a09f863a307ca07b967b68.camel@j-davis.com> <5e94c358caedf2a231dd71624c3578db7227a265.camel@j-davis.com> <3df03aa65aa6ea3a76582e1a792e422dc5c32ad3.camel@j-davis.com> <718fa933c2c58d0ecc61995ab5c7ca1fe78d6369.camel@j-davis.com> <790136.1711910460@sss.pgh.pa.us> <832590.1711925053@sss.pgh.pa.us> Comments: In-reply-to Corey Huinker message dated "Sun, 31 Mar 2024 18:58:48 -0400" MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-ID: <840210.1711926287.1@sss.pgh.pa.us> Date: Sun, 31 Mar 2024 19:04:47 -0400 Message-ID: <840211.1711926287@sss.pgh.pa.us> List-Id: List-Help: List-Subscribe: List-Post: List-Owner: List-Archive: Archived-At: Precedence: bulk Corey Huinker writes: >> I can't quibble with that view of what has priority. I'm just >> suggesting that redesigning what pg_upgrade does in this area >> should come later than doing something about extended stats. > I mostly agree, with the caveat that pg_upgrade's existing message saying > that optimizer stats were not carried over wouldn't be 100% true anymore. I think we can tweak the message wording. I just don't want to be doing major redesign of the behavior, nor adding fundamentally new monitoring capabilities. regards, tom lane