Search Postgresql Archives

Re: Purpose of pg_dump tar archive format?

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On 6/4/24 08:25, Ron Johnson wrote:
On Tue, Jun 4, 2024 at 10:43 AM Adrian Klaver <adrian.klaver@xxxxxxxxxxx <mailto:adrian.klaver@xxxxxxxxxxx>> 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.

If you don't need the tar format then don't use it.

--
Adrian Klaver
adrian.klaver@xxxxxxxxxxx






[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Index of Archives]     [Postgresql Jobs]     [Postgresql Admin]     [Postgresql Performance]     [Linux Clusters]     [PHP Home]     [PHP on Windows]     [Kernel Newbies]     [PHP Classes]     [PHP Databases]     [Postgresql & PHP]     [Yosemite]

  Powered by Linux