Re: Vacuum o/p with (full 1, parallel 0) option throwing an error
В списке pgsql-hackers по дате отправления:
| От | Justin Pryzby |
|---|---|
| Тема | Re: Vacuum o/p with (full 1, parallel 0) option throwing an error |
| Дата | |
| Msg-id | 20200409075702.GM2228@telsasoft.com обсуждение |
| Ответ на | Re: Vacuum o/p with (full 1, parallel 0) option throwing an error (Amit Kapila <amit.kapila16@gmail.com>) |
| Список | pgsql-hackers |
On Thu, Apr 09, 2020 at 12:31:55PM +0530, Amit Kapila wrote:
> Sure, we can change that, but isn't the existing example of similar
> message "cannot specify both PARSER and COPY options" occurs when
> both the options have valid values? If so, we can use a similar
> principle here, no?
A better comparison is with this one:
src/bin/pg_dump/pg_restore.c: pg_log_error("cannot specify both --single-transaction and multiple jobs");
but it doesn't say just: "..specify both --single and --jobs", which would be
wrong in the same way, and which we already dealt with some time ago:
commit 14a4f6f3748df4ff63bb2d2d01146b2b98df20ef
Author: Alvaro Herrera <alvherre@alvh.no-ip.org>
Date: Tue Apr 14 00:06:35 2009 +0000
pg_restore -jN does not equate "multiple jobs", so partly revert the
previous patch.
Per note from Tom.
--
Justin
В списке pgsql-hackers по дате отправления:
Сайт использует файлы cookie для корректной работы и повышения удобства. Нажимая кнопку «Принять» или продолжая пользоваться сайтом, вы соглашаетесь на их использование в соответствии с Политикой в отношении обработки cookie ООО «ППГ», в том числе на передачу данных из файлов cookie сторонним статистическим и рекламным службам. Вы можете управлять настройками cookie через параметры вашего браузера