public inbox for [email protected]
help / color / mirror / Atom feedRe: Purpose of pg_dump tar archive format?
2+ messages / 2 participants
[nested] [flat]
* Re: Purpose of pg_dump tar archive format?
@ 2024-06-04 15:25 Ron Johnson <[email protected]>
0 siblings, 1 reply; 2+ messages in thread
From: Ron Johnson @ 2024-06-04 15:25 UTC (permalink / raw)
To: pgsql-general
On Tue, Jun 4, 2024 at 10:43 AM Adrian Klaver <[email protected]>
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.
^ permalink raw reply [nested|flat] 2+ messages in thread
* Re: Purpose of pg_dump tar archive format?
@ 2024-06-04 15:33 Adrian Klaver <[email protected]>
parent: Ron Johnson <[email protected]>
0 siblings, 0 replies; 2+ messages in thread
From: Adrian Klaver @ 2024-06-04 15:33 UTC (permalink / raw)
To: Ron Johnson <[email protected]>; pgsql-general
On 6/4/24 08:25, Ron Johnson wrote:
> On Tue, Jun 4, 2024 at 10:43 AM Adrian Klaver <[email protected]
> <mailto:[email protected]>> 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
[email protected]
^ permalink raw reply [nested|flat] 2+ messages in thread
end of thread, other threads:[~2024-06-04 15:33 UTC | newest]
Thread overview: 2+ messages (download: mbox mbox.gz follow: Atom feed)
-- links below jump to the message on this page --
2024-06-04 15:25 Re: Purpose of pg_dump tar archive format? Ron Johnson <[email protected]>
2024-06-04 15:33 ` Adrian Klaver <[email protected]>
This inbox is served by agora; see mirroring instructions
for how to clone and mirror all data and code used for this inbox