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 1sdl61-000fyc-99 for pgsql-admin@arkaria.postgresql.org; Tue, 13 Aug 2024 06:33:29 +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 1sdl5z-0024kV-JL for pgsql-admin@arkaria.postgresql.org; Tue, 13 Aug 2024 06:33:27 +0000 Received: from magus.postgresql.org ([2a02:c0:301:0:ffff::29]) by malur.postgresql.org with esmtps (TLS1.3) tls TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384 (Exim 4.94.2) (envelope-from ) id 1sdl5z-0024kM-7h for pgsql-admin@lists.postgresql.org; Tue, 13 Aug 2024 06:33:27 +0000 Received: from sss.pgh.pa.us ([68.162.161.243]) by magus.postgresql.org with esmtps (TLS1.3) tls TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384 (Exim 4.94.2) (envelope-from ) id 1sdl5x-004bjq-C9 for pgsql-admin@lists.postgresql.org; Tue, 13 Aug 2024 06:33:26 +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 47D6XKsq1170093; Tue, 13 Aug 2024 02:33:20 -0400 From: Tom Lane To: Wasim Devale cc: Holger Jakobs , pgsql-admin@lists.postgresql.org Subject: Re: pg_dump In-reply-to: References: <7b149653-4992-9285-d9af-53929497f4e8@jakobs.com> Comments: In-reply-to Wasim Devale message dated "Tue, 13 Aug 2024 11:52:17 +0530" MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-ID: <1170091.1723530800.1@sss.pgh.pa.us> Date: Tue, 13 Aug 2024 02:33:20 -0400 Message-ID: <1170092.1723530800@sss.pgh.pa.us> List-Id: List-Help: List-Subscribe: List-Post: List-Owner: List-Archive: Archived-At: Precedence: bulk Wasim Devale writes: > I did one thing, we can exclude the toast table in the pg_dump command that > has the BLOBS data for a particular table. > --exclude-table-data=pg_toast.pg_toast_10176226 Utterly pointless. pg_dump does not dump toast tables as such; it's only concerned with their parent "regular" tables. It will fetch data from the regular tables, and it's not concerned with the server-side implementation detail that some of that data might be coming out of a toast table. regards, tom lane