Re: [GENERAL] Possible bug: could not open relation with OID[numbers] SQL State: XX000 - Mailing list pgsql-general

From Justin Pryzby
Subject Re: [GENERAL] Possible bug: could not open relation with OID[numbers] SQL State: XX000
Date
Msg-id 20171101220354.GB22239@telsasoft.com
Whole thread Raw
In response to [GENERAL] Possible bug: could not open relation with OID [numbers]SQL State: XX000  (Adam Brusselback <adambrusselback@gmail.com>)
Responses Re: [GENERAL] Possible bug: could not open relation with OID[numbers] SQL State: XX000  (Adam Brusselback <adambrusselback@gmail.com>)
List pgsql-general
On Wed, Nov 01, 2017 at 04:11:07PM -0400, Adam Brusselback wrote:
> I have something going on, and i'm not sure what is causing it.  I
> recently upgraded our development environment to PG10, and the error
> in the subject appeared with one of my analytical functions.

What relation is that ?  I guess it's harder to know since it's within a
function, but could you add NOTICE for all the relations you're outputting ?

Something like
ts=# SELECT 'alarms'::regclass::oid;
oid | 19575

Also, if you have log_statement=all (and maybe log_destination=stderr,csvlog),
can you send the log fragment for the line with error_severity='ERROR' ?
https://www.postgresql.org/docs/current/static/runtime-config-logging.html#runtime-config-logging-csvlog

Justin


-- 
Sent via pgsql-general mailing list (pgsql-general@postgresql.org)
To make changes to your subscription:
http://www.postgresql.org/mailpref/pgsql-general

pgsql-general by date:

Previous
From: Adam Brusselback
Date:
Subject: [GENERAL] Possible bug: could not open relation with OID [numbers]SQL State: XX000
Next
From: Adam Brusselback
Date:
Subject: Re: [GENERAL] Possible bug: could not open relation with OID[numbers] SQL State: XX000