Re: ERROR: could not open relation with OID - Mailing list pgsql-general

From Adrian Klaver
Subject Re: ERROR: could not open relation with OID
Date
Msg-id 55382E78.6090203@aklaver.com
Whole thread Raw
In response to Re: ERROR: could not open relation with OID  (Steve Crawford <scrawford@pinpointresearch.com>)
List pgsql-general
On 04/22/2015 02:37 PM, Steve Crawford wrote:
> On 04/22/2015 01:25 PM, Adrian Klaver wrote:
>>
>>> If it is of importance, it appears that a temporary table and temporary
>>> index were being created within the same second that the query was run.
>>>
>>> Any advice?
>>
>>
>> WHERE
>>     relkind = 'r'
>> AND
>>     relpersistence != 't'
> So to confirm. Fix the query and don't worry?

Well it is software, so always worry:) To reduce the worry level I would
confirm that there is really no current relation with an OID of
597597503. Still given that the query ran successfully on retry and that
it failed in the presence of a temporary table creation I would say the
evidence is that a temporary table disappeared out from under the query.

>
> Cheers,
> Steve
>
>


--
Adrian Klaver
adrian.klaver@aklaver.com


pgsql-general by date:

Previous
From: John R Pierce
Date:
Subject: Re: LDAP Authentication
Next
From: Adrian Klaver
Date:
Subject: Re: Connecting to 2 different DB on same machine