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 1sJywX-007gEL-5U for pgsql-general@arkaria.postgresql.org; Wed, 19 Jun 2024 17:17:57 +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 1sJywU-003Cal-Bj for pgsql-general@arkaria.postgresql.org; Wed, 19 Jun 2024 17:17:55 +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 1sJywU-003Cad-0w for pgsql-general@lists.postgresql.org; Wed, 19 Jun 2024 17:17:54 +0000 Received: from mail-oa1-x2e.google.com ([2001:4860:4864:20::2e]) by magus.postgresql.org with esmtps (TLS1.3) tls TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256 (Exim 4.94.2) (envelope-from ) id 1sJywS-002VNZ-Ui for pgsql-general@lists.postgresql.org; Wed, 19 Jun 2024 17:17:54 +0000 Received: by mail-oa1-x2e.google.com with SMTP id 586e51a60fabf-25980546baeso38022fac.2 for ; Wed, 19 Jun 2024 10:17:52 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1718817471; x=1719422271; darn=lists.postgresql.org; h=to:subject:message-id:date:from:in-reply-to:references:mime-version :from:to:cc:subject:date:message-id:reply-to; bh=xpGyigAjy9hnjBNNGo0H1edAAEa0Opuxv26v+2X06fo=; b=kby8gm6lOR3JvUBNeq0mE3QL/radn0c7hfSvU3N3cOUBrsr4Dlmj2oM/irmeKoKb/b WgcEy704LFl/6/fdMNyHwTOhXZllpvvCTa+5aP2WwJw4tSi46HUD4fHFw+JChFbFFtg+ lVdtAb/zH74QrqfvK81WrCizJP8rPC55iR59BQnsnC4+X8JeTd5pJv4dUlm7dC/fJPDJ wAqMDg+I46XAeyJoG5yRAecphw4x5GJRy7vgUZcMTrWoHpjm1qUG/qGZVNNB32B1VOiV C3EfA+3AcaG3RJaxhUHoebiaq6NkHWAnP4Dx4fQrEl2nQ8+xB33Le1Lxul1fCVowYi38 u6Hg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1718817471; x=1719422271; h=to:subject:message-id:date:from:in-reply-to:references:mime-version :x-gm-message-state:from:to:cc:subject:date:message-id:reply-to; bh=xpGyigAjy9hnjBNNGo0H1edAAEa0Opuxv26v+2X06fo=; b=pttj6QTOapO2oCpN65RkQeFw8dCqfUbs/3AEwowrBZ3cRzfUYExuyc/dfsP9gTKPSj o6H2XpgMhVztZodGPr7sSjiddnDgZHPjSc9ZV5oqVW/71cDe+SUI10EwLfxsNpcc70oI FmmQ3gPeAIkHr2p6xdmvOTwKL//FIxHCr7s0Up24T2Qhp11LzxvImn84kL4xT3dmHeDs xlygJBeQA6+QqG6/yStKmuwkZeAglQu2IavVghY1pBoVvf43xt64XssuArQTiyQLeg2o zMf8e2yVj73F8eXmF8r7/qasZIEhtdl3aOKIt6cjI9MC/YHNIZTp4WnaFrsYYoMn7Dke cByA== X-Gm-Message-State: AOJu0YxxjSAsIvgXtcA0fg/lAScPaKjLWjCMOe0I5nyoaAJcu8wR17tW ORQk66sDbfAlNJiFzOETx4Qc17zK8BcLf5qmCjx5N/7HVJgddgO80vxZzoun7pnXbF3MHWHXu3w aX0lvnBSi1ppn2UnMtI1bXfAgIF8Ckg== X-Google-Smtp-Source: AGHT+IFfB0gONIhQHlV/Wz0+T1HKhqA1aSRh7DUu0TSe0PiIossgqayBUNUse7PI3Fz4YlGwkn8oDqva07KzmceKJ6Q= X-Received: by 2002:a05:6871:72c:b0:259:862f:b8a0 with SMTP id 586e51a60fabf-25c949ab1f4mr3579110fac.23.1718817470933; Wed, 19 Jun 2024 10:17:50 -0700 (PDT) MIME-Version: 1.0 References: <9f2bfd4-1c20-ea61-40c1-b9911f6049b@appl-ecosys.com> <6866ca28-7cba-df1f-7315-1317a1441766@appl-ecosys.com> In-Reply-To: <6866ca28-7cba-df1f-7315-1317a1441766@appl-ecosys.com> From: Ron Johnson Date: Wed, 19 Jun 2024 13:17:40 -0400 Message-ID: Subject: Re: Proper format for pg_dump file date To: "pgsql-generallists.postgresql.org" Content-Type: multipart/alternative; boundary="000000000000c9f19d061b4160fa" List-Id: List-Help: List-Subscribe: List-Post: List-Owner: List-Archive: Archived-At: Precedence: bulk --000000000000c9f19d061b4160fa Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable On Wed, Jun 19, 2024 at 1:14=E2=80=AFPM Rich Shepard wrote: > 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 thos= e > > are generally best avoided. > > David, > > I use the default text format so restoration is by psql. > Perfectly valid for small databases, and copying tables from one instance to another (though in that case, consider postgres_fdw). --000000000000c9f19d061b4160fa Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: quoted-printable
On Wed, Jun 19, 2024 at 1:14=E2=80=AFPM R= ich Shepard <rshepard@appl-e= cosys.com> wrote:
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 tho= se
> are generally best avoided.

David,

I use the default text format so restoration is by psql.

Perfectly valid for small databases, and c= opying tables from one instance to another (though in that case, consider p= ostgres_fdw).

--000000000000c9f19d061b4160fa--