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 1mL95i-0006yn-Nr for pgsql-hackers@arkaria.postgresql.org; Tue, 31 Aug 2021 19:06:38 +0000 Received: from localhost ([127.0.0.1] helo=malur.postgresql.org) by malur.postgresql.org with esmtp (Exim 4.92) (envelope-from ) id 1mL95h-0005xp-Ij for pgsql-hackers@arkaria.postgresql.org; Tue, 31 Aug 2021 19:06:37 +0000 Received: from magus.postgresql.org ([2a02:c0:301:0:ffff::29]) by malur.postgresql.org with esmtps (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1mL95h-0005xh-B4 for pgsql-hackers@lists.postgresql.org; Tue, 31 Aug 2021 19:06:37 +0000 Received: from sss.pgh.pa.us ([66.207.139.130]) by magus.postgresql.org with esmtps (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1mL95b-0004Wn-4E for pgsql-hackers@lists.postgresql.org; Tue, 31 Aug 2021 19:06:37 +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 17VJ6Pev1966359; Tue, 31 Aug 2021 15:06:25 -0400 From: Tom Lane To: depesz@depesz.com cc: Laurenz Albe , pgsql-hackers@lists.postgresql.org Subject: Re: Can we get rid of repeated queries from pg_dump? In-reply-to: <20210831060727.GA32253@depesz.com> 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> <1484548.1630368660@sss.pgh.pa.us> <20210831060727.GA32253@depesz.com> Comments: In-reply-to hubert depesz lubaczewski message dated "Tue, 31 Aug 2021 08:07:27 +0200" MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-ID: <1966357.1630436785.1@sss.pgh.pa.us> Date: Tue, 31 Aug 2021 15:06:25 -0400 Message-ID: <1966358.1630436785@sss.pgh.pa.us> List-Id: List-Help: List-Subscribe: List-Post: List-Owner: List-Archive: Archived-At: Precedence: bulk hubert depesz lubaczewski writes: > My point in here is that potential optimizations regarding queries for > pg_proc might speed up dumps for more people - as they might use things > like postgis, but never realized that it can be much faster. Agreed, but as I said upthread, fixing that looks like it will be rather invasive. Meanwhile, I went ahead and pushed the two simple improvements discussed so far. regards, tom lane