Re: BF failure: could not open relation with OID XXXX while queryingpg_views - Mailing list pgsql-hackers

From Tomas Vondra
Subject Re: BF failure: could not open relation with OID XXXX while queryingpg_views
Date
Msg-id 20190815223748.iclwxsmcch273qg4@development
Whole thread Raw
In response to Re: BF failure: could not open relation with OID XXXX while querying pg_views  (Thomas Munro <thomas.munro@gmail.com>)
Responses Re: BF failure: could not open relation with OID XXXX while querying pg_views
List pgsql-hackers
On Wed, Aug 14, 2019 at 05:24:26PM +1200, Thomas Munro wrote:
>On Wed, Aug 14, 2019 at 5:06 PM Tom Lane <tgl@sss.pgh.pa.us> wrote:
>> Oh, hmm --- yeah, that should mean it's safe.  Maybe somebody incautiously
>> changed one of the other tests that run concurrently with "rules"?
>
>Looks like stats_ext.sql could be the problem.  It creates and drops
>priv_test_view, not in a schema.  Adding Dean, author of commit
>d7f8d26d.
>

Yeah, that seems like it might be the cause. I'll take a look at fixing
this, probably by creating the view in a different schema.

regards

-- 
Tomas Vondra                  http://www.2ndQuadrant.com
PostgreSQL Development, 24x7 Support, Remote DBA, Training & Services 



pgsql-hackers by date:

Previous
From: Tomas Vondra
Date:
Subject: Re: Speed up transaction completion faster after many relations areaccessed in a transaction
Next
From: Chapman Flack
Date:
Subject: Re: Extension development