Обсуждение: Missing locales prevent autovacuum

Поиск
Список
Период
Сортировка

Missing locales prevent autovacuum

От
Jens.Wilke@parcIT.de
Дата:

Hi,

is it intended, that missing locales of single databases prevent autovacuum in the entire cluster?
FATAL:  database locale is incompatible with operating system
If so, shouldn't there be an ERROR instead or additionally?


Jens

Re: Missing locales prevent autovacuum

От
Alvaro Herrera
Дата:
On 2019-Dec-16, Jens.Wilke@parcIT.de wrote:

> is it intended, that missing locales of single databases prevent autovacuum
> in the entire cluster?
> FATAL:  database locale is incompatible with operating system
> If so, shouldn't there be an ERROR instead or additionally?

Probably that database is in danger of XID wraparound, so autovacuum is
selecting it without regard for any other databases.  Keeping broken
databases in your cluster is definitely not a good idea.  I suggest you
DROP it to allow other things to work normally.

Yes, I think we should somehow fix this problem.  But nobody has
attacked it seriously enough yet.

-- 
Álvaro Herrera                https://www.2ndQuadrant.com/
PostgreSQL Development, 24x7 Support, Remote DBA, Training & Services