Re: Purpose of pg_dump tar archive format? - Mailing list pgsql-general

From Ron Johnson
Subject Re: Purpose of pg_dump tar archive format?
Date
Msg-id CANzqJaCMR-5eLMYy0ukywWeKpwySCAMQRrgKmW7A2CZ-mr9+0Q@mail.gmail.com
Whole thread Raw
In response to Re: Purpose of pg_dump tar archive format?  (Adrian Klaver <adrian.klaver@aklaver.com>)
Responses Re: Purpose of pg_dump tar archive format?
List pgsql-general
On Tue, Jun 4, 2024 at 10:43 AM Adrian Klaver <adrian.klaver@aklaver.com> wrote:
On 6/4/24 05:13, 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).

pg_dump -d test -U postgres -Ft  | gzip --stdout > test.tgz

Who's got meaningful databases that small anymore?

And if you've got meaningfully sized databases, open port 5432 and move them using pg_dump.

pgsql-general by date:

Previous
From: Adrian Klaver
Date:
Subject: Re: Purpose of pg_dump tar archive format?
Next
From: Adrian Klaver
Date:
Subject: Re: Purpose of pg_dump tar archive format?