Re: Another pg_dump using split and gzip for large databases
От | Bruce Momjian |
---|---|
Тема | Re: Another pg_dump using split and gzip for large databases |
Дата | |
Msg-id | 20210729145855.GF9600@momjian.us обсуждение исходный текст |
Ответ на | Re: Another pg_dump using split and gzip for large databases (Daniel Gustafsson <daniel@yesql.se>) |
Ответы |
Re: Another pg_dump using split and gzip for large databases
|
Список | pgsql-docs |
On Thu, Jul 29, 2021 at 11:27:20AM +0200, Daniel Gustafsson wrote: > > On 29 Jul 2021, at 01:46, Bruce Momjian <bruce@momjian.us> wrote: > > On Sat, Jul 17, 2021 at 03:09:52PM +0000, PG Doc comments form wrote: > > >> pg_dump ccbank | split -b 2048m --filter='gzip > $FILE.gz' > > > > Wow, odd we didn't have an example of using gzip and split together; > > patch attached. > > Maybe because the --filter option is only available in GNU split and not in > POSIX, and thus not on FreeBSD and macOS etc. I'm not sure about what level of > compatibility we strive for in the examples though. OK, I can adjust it to say "GNU split" or just skip this addition. -- Bruce Momjian <bruce@momjian.us> https://momjian.us EDB https://enterprisedb.com If only the physical world exists, free will is an illusion.
В списке pgsql-docs по дате отправления: