Re: vacuumdb and new VACUUM options

Поиск
Список
Период
Сортировка
От Michael Paquier
Тема Re: vacuumdb and new VACUUM options
Дата
Msg-id 20190509010056.GA14573@paquier.xyz
обсуждение исходный текст
Ответ на Re: vacuumdb and new VACUUM options  (Euler Taveira <euler@timbira.com.br>)
Ответы Re: vacuumdb and new VACUUM options  (Masahiko Sawada <sawada.mshk@gmail.com>)
Список pgsql-hackers
On Wed, May 08, 2019 at 06:21:09PM -0300, Euler Taveira wrote:
> Em qua, 8 de mai de 2019 às 14:19, Fujii Masao <masao.fujii@gmail.com> escreveu:
>> The question is; we should support vacuumdb option for (1), i.e.,,
>> something like --index-cleanup option is added?
>> Or for (2), i.e., something like --disable-index-cleanup option is added
>> as your patch does? Or for both?
>
> --index-cleanup=BOOL

I agree with Euler's suggestion to have a 1-1 mapping between the
option of vacuumdb and the VACUUM parameter, because that's more
intuitive:
- --index-cleanup=3Dfalse =3D> VACUUM (INDEX_CLEANUP=3Dfalse)
- --index-cleanup=3Dtrue =3D> VACUUM (INDEX_CLEANUP=3Dtrue)
- no --index-cleanup means to rely on the reloption.
--
Michael

Вложения

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

Предыдущее
От: "Matsumura, Ryo"
Дата:
Сообщение: RE: Patch: doc for pg_logical_emit_message()
Следующее
От: Michael Paquier
Дата:
Сообщение: Re: Wrong return code in vacuumdb when multiple jobs are used