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

From Tom Lane
Subject Re: BUG #15640: FATAL: XX000: cannot read pg_class without having selected a database
Date
Msg-id 28802.1550507389@sss.pgh.pa.us
Whole thread Raw
In response to Re: BUG #15640: FATAL: XX000: cannot read pg_class without havingselected a database  (Alvaro Herrera <alvherre@2ndquadrant.com>)
Responses Re: BUG #15640: FATAL: XX000: cannot read pg_class without havingselected a database
List pgsql-bugs
Alvaro Herrera <alvherre@2ndquadrant.com> writes:
> On 2019-Feb-18, PG Bug reporting form wrote:
>> 2019-02-18 05:30:36 GMT [40378]: [2-1] db=,user= FATAL:  XX000: cannot read pg_class without having selected a
database
>> 2019-02-18 05:30:36 GMT [40378]: [3-1] db=,user= LOCATION:  ScanPgRelation, relcache.c:314

> Hmm, I wonder if this is a bug introduced in 6a46aba1cd6d (in 9.6.10)
> that only hits autovacuum launcher after a relcache init removal at just
> the wrong time, or something like that?

I think/hope that the launcher isn't connected to sinval, either.

            regards, tom lane


pgsql-bugs by date:

Previous
From: Stephen Frost
Date:
Subject: Re: BUG #15636: PostgreSQL 11.1 pg_basebackup backup to a CIFSdestination throws fsync error at end of backup
Next
From: Andres Freund
Date:
Subject: Re: BUG #15640: FATAL: XX000: cannot read pg_class without havingselected a database