Re: Vacuum o/p with (full 1, parallel 0) option throwing an error

Поиск
Список
Период
Сортировка
От Amit Kapila
Тема Re: Vacuum o/p with (full 1, parallel 0) option throwing an error
Дата
Msg-id CAA4eK1Ju2TbBFLjTYbEG33vWLM8vxhLPM4AyWH=RJ9TfvK4f7g@mail.gmail.com
обсуждение исходный текст
Ответ на Re: Vacuum o/p with (full 1, parallel 0) option throwing an error  (Michael Paquier <michael@paquier.xyz>)
Ответы Re: Vacuum o/p with (full 1, parallel 0) option throwing an error
Re: Vacuum o/p with (full 1, parallel 0) option throwing an error
Список pgsql-hackers
On Thu, Apr 9, 2020 at 7:07 AM Michael Paquier <michael@paquier.xyz> wrote:
>
> On Wed, Apr 08, 2020 at 01:38:54PM -0500, Justin Pryzby wrote:
> > I think the behavior is correct, but the error message could be improved, like:
> > |ERROR:  cannot specify FULL with PARALLEL jobs
> > or similar.
>
> Perhaps "cannot use FULL and PARALLEL options together"?
>

We already have a similar message "cannot specify both PARSER and COPY
options", so I think the current message is fine.

>  I think that
> this patch needs tests in sql/vacuum.sql.
>

We already have one test that is testing an invalid combination of
PARALLEL and FULL option, not sure of adding more on similar lines is
a good idea, but we can do that if it makes sense.  What more tests
you have in mind which make sense here?

-- 
With Regards,
Amit Kapila.
EnterpriseDB: http://www.enterprisedb.com



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

Предыдущее
От: Tom Lane
Дата:
Сообщение: Re: A problem about partitionwise join
Следующее
От: Tom Lane
Дата:
Сообщение: Re: [HACKERS] advanced partition matching algorithm for partition-wise join