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 1sJysl-007g19-JG for pgsql-general@arkaria.postgresql.org; Wed, 19 Jun 2024 17:14:03 +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 1sJysi-0034EJ-2S for pgsql-general@arkaria.postgresql.org; Wed, 19 Jun 2024 17:14:00 +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 1sJysh-0034EB-NN for pgsql-general@lists.postgresql.org; Wed, 19 Jun 2024 17:14:00 +0000 Received: from mail.appl-ecosys.com ([50.126.108.78]) by makus.postgresql.org with esmtps (TLS1.2) tls TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384 (Exim 4.94.2) (envelope-from ) id 1sJysg-0026w4-34 for pgsql-general@lists.postgresql.org; Wed, 19 Jun 2024 17:13:59 +0000 Received: from salmo.appl-ecosys.com (salmo.appl-ecosys.com [192.168.55.1]) by mail.appl-ecosys.com (Postfix) with ESMTP id 97B4B2A2B7C for ; Wed, 19 Jun 2024 10:13:56 -0700 (PDT) Date: Wed, 19 Jun 2024 10:13:56 -0700 (PDT) From: Rich Shepard To: pgsql-general@lists.postgresql.org Subject: Re: Proper format for pg_dump file date In-Reply-To: Message-ID: <6866ca28-7cba-df1f-7315-1317a1441766@appl-ecosys.com> References: <9f2bfd4-1c20-ea61-40c1-b9911f6049b@appl-ecosys.com> MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII; format=flowed List-Id: List-Help: List-Subscribe: List-Post: List-Owner: List-Archive: Archived-At: Precedence: bulk On Wed, 19 Jun 2024, David G. Johnston wrote: > If you are doing a custom format dump using .sql as the extension is > objectively wrong. it is correct if you are doing an sql dump, but those > are generally best avoided. David, I use the default text format so restoration is by psql. Rich