Re: BUG #15640: FATAL: XX000: cannot read pg_class without having selected a database

From: Andres Freund <andres(at)anarazel(dot)de>
To: Alvaro Herrera <alvherre(at)2ndquadrant(dot)com>
Cc: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>, m(dot)kiianov(at)rtk-dc(dot)ru, pgsql-bugs(at)lists(dot)postgresql(dot)org
Subject: Re: BUG #15640: FATAL: XX000: cannot read pg_class without having selected a database
Date: 2019-02-18 16:48:41
Message-ID: 20190218164841.khbuqmim2esqfrqn@alap3.anarazel.de
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: 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().

In response to

Browse pgsql-bugs by date

  From Date Subject
Next Message Maksim Milyutin 2019-02-18 17:03:10 Re: BUG #15638: pg_basebackup with --wal-method=stream incorrectly generates WAL segment created during backup
Previous Message Alvaro Herrera 2019-02-18 16:44:12 Re: BUG #15640: FATAL: XX000: cannot read pg_class without having selected a database