Re: How to do pg_dump + pg_restore within Perl script?

Поиск
Список
Период
Сортировка
Искать
От
Tom Lane
Тема
Re: How to do pg_dump + pg_restore within Perl script?
Дата
в 17:23:49
Msg-id
16896.1273523019@sss.pgh.pa.us
Ответ на
Список
Дерево обсуждения
How to do pg_dump + pg_restore within Perl script? Kynn Jones <kynnjo@gmail.com>
Re: How to do pg_dump + pg_restore within Perl script? "Greg Sabino Mullane" <greg@turnstep.com>
Re: How to do pg_dump + pg_restore within Perl script? "Joshua D. Drake" <jd@commandprompt.com>
Re: How to do pg_dump + pg_restore within Perl script? "Joshua D. Drake" <jd@commandprompt.com>
Re: How to do pg_dump + pg_restore within Perl script? Kynn Jones <kynnjo@gmail.com>
Re: How to do pg_dump + pg_restore within Perl script? Tom Lane <tgl@sss.pgh.pa.us>
Re: How to do pg_dump + pg_restore within Perl script? Kynn Jones <kynnjo@gmail.com>
Re: How to do pg_dump + pg_restore within Perl script? Tom Lane <tgl@sss.pgh.pa.us>
Re: How to do pg_dump + pg_restore within Perl script? Andy Colson <andy@squeakycode.net>
Kynn Jones  writes:
> Actually, that was a mistake on my part.  That should have been "-Ft" rather
> than "-Z9 -Fc", since I *don't* want compression (most of the data being
> transmitted consists of highly incompressible blobs anyway).  Regarding SSH,
> my understanding is that to get compression one needs to pass to it the -C
> flag at the time of creating the tunnel.  But my grasp of these details is
> tenuous as best.

Actually, I'd suggest -Fc -Z0, or maybe plain text dump, if your
motivation is to avoid compression.  -Ft has its own issues that
make it a less-than-desirable choice; you shouldn't pick it unless
you really specifically need a tar-compatible dump format.

			regards, tom lane
В списке pgsql-general по дате отправления
От: Tim Landscheidt
Дата:
От: justin@magwerks.com
Дата:
Сообщение: files stored in the database
FAQ