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 1mdJQ4-00012D-E9 for pgsql-general@arkaria.postgresql.org; Wed, 20 Oct 2021 21:46:44 +0000 Received: from localhost ([127.0.0.1] helo=malur.postgresql.org) by malur.postgresql.org with esmtp (Exim 4.92) (envelope-from ) id 1mdJPW-0000sL-Lm for pgsql-general@arkaria.postgresql.org; Wed, 20 Oct 2021 21:46:10 +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 1mdJPW-0000sC-C2 for pgsql-general@lists.postgresql.org; Wed, 20 Oct 2021 21:46:10 +0000 Received: from sss.pgh.pa.us ([66.207.139.130]) by makus.postgresql.org with esmtps (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1mdJPT-0007hj-HS for pgsql-general@lists.postgresql.org; Wed, 20 Oct 2021 21:46: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 19KLk1q32276060; Wed, 20 Oct 2021 17:46:01 -0400 From: Tom Lane To: depesz@depesz.com cc: Stephen Frost , Laurenz Albe , pgsql-general Subject: Re: Can we get rid of repeated queries from pg_dump? In-reply-to: <1414363.1630341759@sss.pgh.pa.us> References: <20210826084430.GA26282@depesz.com> <648517.1629986527@sss.pgh.pa.us> <20210826140827.GA15868@depesz.com> <649446.1629987629@sss.pgh.pa.us> <20210826160644.GA3120@depesz.com> <896732.1630099403@sss.pgh.pa.us> <20210830074442.GB15241@depesz.com> <1349119.1630332682@sss.pgh.pa.us> <20210830144551.GA27054@depesz.com> <1351364.1630335487@sss.pgh.pa.us> <1414363.1630341759@sss.pgh.pa.us> Comments: In-reply-to Tom Lane message dated "Mon, 30 Aug 2021 12:42:39 -0400" MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-ID: <2276058.1634766361.1@sss.pgh.pa.us> Date: Wed, 20 Oct 2021 17:46:01 -0400 Message-ID: <2276059.1634766361@sss.pgh.pa.us> List-Id: List-Help: List-Subscribe: List-Post: List-Owner: List-Archive: Archived-At: Precedence: bulk I wrote: > Anyway, it doesn't look like there's much hope of improving this > aspect without a significant rewrite. Just to close out this thread: I've now posted such a rewrite at https://www.postgresql.org/message-id/2273648.1634764485%40sss.pgh.pa.us regards, tom lane