Re: BF failure: could not open relation with OID XXXX while querying pg_views

From: Tomas Vondra <tomas(dot)vondra(at)2ndquadrant(dot)com>
To: Thomas Munro <thomas(dot)munro(at)gmail(dot)com>
Cc: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>, Dean Rasheed <dean(dot)a(dot)rasheed(at)gmail(dot)com>, Peter Eisentraut <peter(dot)eisentraut(at)2ndquadrant(dot)com>, pgsql-hackers <pgsql-hackers(at)postgresql(dot)org>
Subject: Re: BF failure: could not open relation with OID XXXX while querying pg_views
Date: 2019-08-15 22:37:48
Message-ID: 20190815223748.iclwxsmcch273qg4@development
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: 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(at)sss(dot)pgh(dot)pa(dot)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

In response to

Responses

Browse pgsql-hackers by date

  From Date Subject
Next Message Chapman Flack 2019-08-15 22:55:12 Re: Extension development
Previous Message Tomas Vondra 2019-08-15 22:30:59 Re: Speed up transaction completion faster after many relations are accessed in a transaction