Re: How to recover from : "Cache lookup failed for rela tion "
В списке pgsql-general по дате отправления:
| От | Tom Lane |
|---|---|
| Тема | Re: How to recover from : "Cache lookup failed for rela tion " |
| Дата | |
| Msg-id | 7493.1116857308@sss.pgh.pa.us обсуждение исходный текст |
| Ответ на | Re: How to recover from : "Cache lookup failed for rela (Patrick.FICHE@AQSACOM.COM) |
| Список | pgsql-general |
Patrick.FICHE@AQSACOM.COM writes:
> The error happens when I try to create other temporary tables.
> Here is a part of my Server Log :
> ERROR: cache lookup failed for relation 463558
> CONTEXT: SQL statement "CREATE TEMP TABLE Tmp_MsgRxOrder ( EventId int4,
> CodeRef int4 )"
> PL/pgSQL function "adm_ne" line 248 at SQL statement
> STATEMENT: SELECT ALIS.ADM_NE()
This must be happening when you first try to use the pg_temp_4 schema
inside a particular session. The code will try to remove the existing
schema contents (as indicated by pg_depend), and evidently there is
something inconsistent in that.
What rows do you have in pg_depend that have either objid or refobjid
equal to 463558 or 463559? Also, get the OID of the pg_temp_4 schema
from pg_namespace, and see what rows in pg_depend have refobjid equal
to that.
regards, tom lane
В списке pgsql-general по дате отправления:
Сайт использует файлы cookie для корректной работы и повышения удобства. Нажимая кнопку «Принять» или продолжая пользоваться сайтом, вы соглашаетесь на их использование в соответствии с Политикой в отношении обработки cookie ООО «ППГ», в том числе на передачу данных из файлов cookie сторонним статистическим и рекламным службам. Вы можете управлять настройками cookie через параметры вашего браузера