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 1tlez6-000xRG-FE for pgsql-hackers@arkaria.postgresql.org; Sat, 22 Feb 2025 02:11:17 +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 1tlez5-0030bd-4K for pgsql-hackers@arkaria.postgresql.org; Sat, 22 Feb 2025 02:11:15 +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 1tlez4-0030Zv-Q8 for pgsql-hackers@lists.postgresql.org; Sat, 22 Feb 2025 02:11:14 +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.96) (envelope-from ) id 1tleyy-00049D-02 for pgsql-hackers@lists.postgresql.org; Sat, 22 Feb 2025 02:11:09 +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 51M2B7k93816054; Fri, 21 Feb 2025 21:11:07 -0500 From: Tom Lane To: Robert Haas cc: Ilia Evdokimov , Andrei Lepikhov , pgsql-hackers@lists.postgresql.org Subject: Re: explain analyze rows=%.0f In-reply-to: References: <70bc1af0-6910-4f71-84ba-fa02095fe9ba@tantorlabs.com> <3212947.1739306803@sss.pgh.pa.us> <3365160.1739385615@sss.pgh.pa.us> <0e4c813a-18eb-41e2-8edb-89b78d43c82d@gmail.com> <01ec86c1-e04b-4cbe-b641-22cae8b87604@tantorlabs.com> <73e2440e-7d8b-4860-974d-931a93326d95@gmail.com> <3737950.1740182671@sss.pgh.pa.us> Comments: In-reply-to Robert Haas message dated "Fri, 21 Feb 2025 20:16:20 -0500" MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-ID: <3816052.1740190267.1@sss.pgh.pa.us> Date: Fri, 21 Feb 2025 21:11:07 -0500 Message-ID: <3816053.1740190267@sss.pgh.pa.us> List-Id: List-Help: List-Subscribe: List-Post: List-Owner: List-Archive: Archived-At: Precedence: bulk Robert Haas writes: > Yeah, I pushed an attempt at a band-aid fix. Hopefully that will make > it clear whether there are other problems and how bad they are. It > looks like the XversionUpgrade tests are not this commit's fault. They are not, they're Jeff's problem. I apologize if I ruffled your feathers. But the buildfarm is a shared resource and it doesn't do to leave it significantly broken over a weekend, which I feared you might be about to do. Committing stuff at 4PM on a Friday is perhaps not the best plan if your intention is to not work weekends. On a positive note, at least some of the formerly-pink members seem to be happy now. So as you hoped, we can get more info about whether there are less-frequent problems. As for a permanent fix: maybe, instead of printing fractions when actual nloops > 1, we should print fractions if *potential* nloops > 1? That is, anytime we're on the inside of a nestloop, under a Gather, etc. Seems like this'd not be too hard to track while recursively descending the PlanState tree. regards, tom lane