Re: pg_dump documentation page

Поиск
Список
Период
Сортировка
От Laurenz Albe
Тема Re: pg_dump documentation page
Дата
Msg-id ae650fdba95438fa56bf24f9b088158d001b8176.camel@cybertec.at
обсуждение исходный текст
Ответ на pg_dump documentation page  (PG Doc comments form <noreply@postgresql.org>)
Ответы Re: pg_dump documentation page  (Daniel Gochin <dgochin@gmail.com>)
Список pgsql-docs
On Thu, 2020-01-30 at 01:26 +0000, PG Doc comments form wrote:
> I'm not certain but I think that on the page:
> https://www.postgresql.org/docs/9.6/app-pgdump.html, it should mention that
> to use the -j (jobs) switch, you can only use -F d (format directory.)
> Also, when using -F d, you need to use the -f (file) switch as well to
> specify the directory name. I didn't find that to be clear.
> 
> e.g.: pg_dump -j 5 -Fd -f "c:\pg backup" test_db

It says right there:

At the -j option:

"You can only use this option with the directory output format because this is the only
 output format where multiple processes can write their data at the same time."

At the -f option:

"This parameter can be omitted for file based output formats, in which case the standard
 output is used. It must be given for the directory output format however, where it
 specifies the target directory instead of a file.

Yours,
Laurenz Albe
-- 
Cybertec | https://www.cybertec-postgresql.com




В списке pgsql-docs по дате отправления:

Предыдущее
От: PG Doc comments form
Дата:
Сообщение: pg_dump documentation page
Следующее
От: Daniel Gochin
Дата:
Сообщение: Re: pg_dump documentation page