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 1v9Cq8-00CQdf-3B for pgsql-bugs@arkaria.postgresql.org; Thu, 16 Oct 2025 01:31:35 +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 1v9Cq6-009GnP-V0 for pgsql-bugs@arkaria.postgresql.org; Thu, 16 Oct 2025 01:31:33 +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 1v9Cq6-009Gmk-Mw for pgsql-bugs@lists.postgresql.org; Thu, 16 Oct 2025 01:31:33 +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 1v9Cq4-00203J-0R for pgsql-bugs@lists.postgresql.org; Thu, 16 Oct 2025 01:31:32 +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 59G1VTIq1347708; Wed, 15 Oct 2025 21:31:29 -0400 From: Tom Lane To: David Rowley cc: Nathan Bossart , andrewbille@gmail.com, pgsql-bugs@lists.postgresql.org Subject: Re: BUG #19086: pg_dump --data-only selects and do not uses index definitions for the dumped tables. In-reply-to: References: <19086-871ff11017d03dc5@postgresql.org> <1000041.1760471415@sss.pgh.pa.us> <1324003.1760565328@sss.pgh.pa.us> <1334977.1760571380@sss.pgh.pa.us> <1342348.1760575547@sss.pgh.pa.us> Comments: In-reply-to David Rowley message dated "Thu, 16 Oct 2025 14:23:10 +1300" MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-ID: <1347706.1760578289.1@sss.pgh.pa.us> Date: Wed, 15 Oct 2025 21:31:29 -0400 Message-ID: <1347707.1760578289@sss.pgh.pa.us> List-Id: List-Help: List-Subscribe: List-Post: List-Owner: List-Archive: Archived-At: Precedence: bulk David Rowley writes: > Just to put that to the test, I tried the attached. I'm confused by all the extraneous changes in this? > i.e about 3.5x faster with ignore_system_indexes and 38% faster without. Very promising, but I'm still confused. regards, tom lane