Re: BUG #15640: FATAL: XX000: cannot read pg_class without havingselected a database - Mailing list pgsql-bugs

From Andres Freund
Subject Re: BUG #15640: FATAL: XX000: cannot read pg_class without havingselected a database
Date
Msg-id 20190218164841.khbuqmim2esqfrqn@alap3.anarazel.de
Whole thread Raw
In response to Re: BUG #15640: FATAL: XX000: cannot read pg_class without havingselected a database  (Alvaro Herrera <alvherre@2ndquadrant.com>)
List pgsql-bugs
On 2019-02-18 13:44:12 -0300, Alvaro Herrera wrote:
> On 2019-Feb-18, Andres Freund wrote:
> 
> 
> > My initial guess would be that one of the extensions registered a
> > relcache callback, and does catalog accesses in an unconditional manner.
> 
> Hmm but why is extension code running in autovacuum launcher?

shared_preload_libraries + CacheRegisterRelcacheCallback().


pgsql-bugs by date:

Previous
From: Alvaro Herrera
Date:
Subject: Re: BUG #15640: FATAL: XX000: cannot read pg_class without havingselected a database
Next
From: Maksim Milyutin
Date:
Subject: Re: BUG #15638: pg_basebackup with --wal-method=stream incorrectlygenerates WAL segment created during backup