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 1sEUXB-001iwE-Q4 for pgsql-general@arkaria.postgresql.org; Tue, 04 Jun 2024 13:49:08 +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 1sEUXB-00H3CU-IR for pgsql-general@arkaria.postgresql.org; Tue, 04 Jun 2024 13:49:05 +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 1sEUXA-00H3CL-BB for pgsql-general@lists.postgresql.org; Tue, 04 Jun 2024 13:49:05 +0000 Received: from mout-u-204.mailbox.org ([80.241.59.204]) by magus.postgresql.org with esmtps (TLS1.3) tls TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384 (Exim 4.94.2) (envelope-from ) id 1sEUX2-002J61-Df for pgsql-general@postgresql.org; Tue, 04 Jun 2024 13:49:02 +0000 Received: from smtp1.mailbox.org (smtp1.mailbox.org [IPv6:2001:67c:2050:b231:465::1]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (No client certificate requested) by mout-u-204.mailbox.org (Postfix) with ESMTPS id 4VtsPw17jzz9sdB; Tue, 4 Jun 2024 15:48:52 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=ewie.name; s=MBO0001; t=1717508932; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version:content-type:content-type: in-reply-to:in-reply-to:references:references; bh=XNHsNmF0mvwbHwKiJRDTSpnQDv3gv3haNb5CtrD2A3c=; b=jIqrhEME0UbtbcCVMEaOply1HDMf7Avrg6H3EJUu4lpzDe70AojtzfCmaneu+TfjVVMbVz KDx2OoH5iLrhaLxJlvZU4/8q1cB47hLVxuP1mFjri47C7ostrWM22HlmuXtQDoVz96R1kX KmIsv6u8j8rgcJUGo8Iz93G0TLz4SNsmtuuGNY/VGhkyPMKUriJfhTgAWJQ0RwObk28/Pv kayXsTkCGv394cuJUcGtaawoxW3I1PxyZfphPvcmfgdWEsXgu7M/EytbsbF+XsqF0i1WCa FN/A+C/q5KdygTAyvfrdqNl5r8mVWOULnEXyzDA88gQPstvB3nqtuD3CY9vw4A== Date: Tue, 4 Jun 2024 15:48:50 +0200 From: Erik Wienhold To: Ron Johnson Cc: pgsql-general Subject: Re: Purpose of pg_dump tar archive format? Message-ID: References: MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: X-Rspamd-Queue-Id: 4VtsPw17jzz9sdB List-Id: List-Help: List-Subscribe: List-Post: List-Owner: List-Archive: Archived-At: Precedence: bulk On 2024-06-04 14:13 +0200, Ron Johnson wrote: > It doesn't support compression nor restore reordering like the custom > format, so I'm having trouble seeing why it still exists (at least without > a doc warning that it's obsolete). Maybe because of this: > * The tar format also includes a 'restore.sql' script which is there for > * the benefit of humans. This script is never used by pg_restore. I've never used that restore.sql, so I can't say how useful it is, especially since it requires editing $$PATH$$. Should be mentioned in the docs if that file is still relevant. -- Erik