Re: [GENERAL] Possible bug: could not open relation with OID[numbers] SQL State: XX000

Поиск
Список
Период
Сортировка
От Justin Pryzby
Тема Re: [GENERAL] Possible bug: could not open relation with OID[numbers] SQL State: XX000
Дата
Msg-id 20171101220354.GB22239@telsasoft.com
обсуждение исходный текст
Ответ на [GENERAL] Possible bug: could not open relation with OID [numbers]SQL State: XX000  (Adam Brusselback <adambrusselback@gmail.com>)
Ответы Re: [GENERAL] Possible bug: could not open relation with OID[numbers] SQL State: XX000  (Adam Brusselback <adambrusselback@gmail.com>)
Список 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 по дате отправления:

Предыдущее
От: Adam Brusselback
Дата:
Сообщение: [GENERAL] Possible bug: could not open relation with OID [numbers]SQL State: XX000
Следующее
От: Adam Brusselback
Дата:
Сообщение: Re: [GENERAL] Possible bug: could not open relation with OID[numbers] SQL State: XX000