Re: Missing locales prevent autovacuum

From: Alvaro Herrera <alvherre(at)2ndquadrant(dot)com>
To: Jens(dot)Wilke(at)parcIT(dot)de
Cc: pgsql-bugs(at)lists(dot)postgresql(dot)org
Subject: Re: Missing locales prevent autovacuum
Date: 2019-12-16 19:19:11
Message-ID: 20191216191911.GA8643@alvherre.pgsql
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-bugs

On 2019-Dec-16, Jens(dot)Wilke(at)parcIT(dot)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

In response to

Browse pgsql-bugs by date

  From Date Subject
Next Message Tom Lane 2019-12-16 20:17:13 Re: BUG #16161: pg_ctl stop fails sometimes (on Windows)
Previous Message Alexander Lakhin 2019-12-16 19:00:00 Re: BUG #16162: create index using gist_trgm_ops leads to panic