Re: BUG #14941: Vacuum crashes

Поиск
Список
Период
Сортировка
От Bossart, Nathan
Тема Re: BUG #14941: Vacuum crashes
Дата
Msg-id F7AE1E78-4C3A-4D2D-84EE-68E8D8898E6D@amazon.com
обсуждение исходный текст
Ответ на Re: BUG #14941: Vacuum crashes  (Robert Haas <robertmhaas@gmail.com>)
Ответы Re: BUG #14941: Vacuum crashes  (Lyes Ameddah <lyes.amd@gmail.com>)
Re: BUG #14941: Vacuum crashes  (Lyes Ameddah <lyes.amd@gmail.com>)
Re: BUG #14941: Vacuum crashes  (Michael Paquier <michael.paquier@gmail.com>)
Re: BUG #14941: Vacuum crashes  (Michael Paquier <michael.paquier@gmail.com>)
Список pgsql-hackers
On 12/1/17, 3:04 PM, "Robert Haas" <robertmhaas@gmail.com> wrote:
> On Fri, Dec 1, 2017 at 1:53 PM, Bossart, Nathan <bossartn@amazon.com> wrote:
>> There is already an internal flag called VACOPT_NOWAIT that gives
>> autovacuum this ability in certain cases (introduced in the aforementioned
>> commit), and I recently brought up this potential use-case as
>> justification for a patch [0].  I'd be happy to submit a patch for
>> providing VACOPT_NOWAIT to users if others think it's something we should
>> do.
>
> Seems entirely reasonable to me, provided that we only update the
> extensible-options syntax:
>
> VACUUM [ ( option [, ...] ) ] [ table_and_columns [, ...] ]
>
> I don't want to add any more options to the older syntax:
>
> VACUUM [ FULL ] [ FREEZE ] [ VERBOSE ] [ ANALYZE ] [ table_and_columns [, ...] ]

Right.  This seems like the right path forward to me, as the
VACUUM documentation states that the unparenthesized syntax is
deprecated, and the DISABLE_PAGE_SKIPPING option was not added
to the old syntax, either.

> I am slightly confused as to how we got on to this topic since the
> subject is "Vacuum crashes", but perhaps Lyes was simply speaking
> imprecisely.

I'm hoping Lyes chimes in soon to clarify if I am interpreting
the original report incorrectly.

Nathan


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

Предыдущее
От: Robert Haas
Дата:
Сообщение: Re: [HACKERS] Custom compression methods
Следующее
От: Tomas Vondra
Дата:
Сообщение: Re: [HACKERS] Custom compression methods