Re: Failed to request an autovacuum work-item in silence - Mailing list pgsql-hackers

From Fabrízio de Royes Mello
Subject Re: Failed to request an autovacuum work-item in silence
Date
Msg-id CAFcNs+qCaU8zeyNsx56gLLOSczpHCj-WHUHzZC_gogr85ywqiA@mail.gmail.com
Whole thread Raw
In response to Failed to request an autovacuum work-item in silence  (Masahiko Sawada <sawada.mshk@gmail.com>)
Responses Re: Failed to request an autovacuum work-item in silence
List pgsql-hackers

Em ter, 23 de jan de 2018 às 03:36, Masahiko Sawada <sawada.mshk@gmail.com> escreveu:
Hi all,

While reading the code, I realized that the requesting an autovacuum
work-item could fail in silence if work-item array is full. So the
users cannot realize that work-item is never performed.
AutoVacuumRequestWork() seems to behave so from the initial
implementation but is there any reason of such behavior? It seems to
me that it can be a problem even now that there is only one kind of
work-item. Attached patch for fixing it.

Seems reasonable but maybe you can use the word "worker" instead of "work item" for report message.


--
Fabrízio de Royes Mello
Consultoria/Coaching PostgreSQL

pgsql-hackers by date:

Previous
From: Константин Евтеев
Date:
Subject: Invalidation pg catalog cache in trigger functions
Next
From: Etsuro Fujita
Date:
Subject: Re: list partition constraint shape