Re: BUG #15553: "ERROR: cache lookup failed for type 2" with a function the first time it run.
В списке pgsql-bugs по дате отправления:
| От | Tom Lane |
|---|---|
| Тема | Re: BUG #15553: "ERROR: cache lookup failed for type 2" with a function the first time it run. |
| Дата | |
| Msg-id | 23950.1544819190@sss.pgh.pa.us обсуждение |
| Ответ на | BUG #15553: "ERROR: cache lookup failed for type 2" with a functionthe first time it run. (PG Bug reporting form <noreply@postgresql.org>) |
| Ответы |
RE: BUG #15553: "ERROR: cache lookup failed for type 2" with afunction the first time it run.
|
| Список | pgsql-bugs |
=?utf-8?q?PG_Bug_reporting_form?= <noreply@postgresql.org> writes:
> I got an "ERROR: cache lookup failed for type 2" when a function is run for
> the first time in a session.
That certainly looks like a bug, but I can't replicate it from the
given instructions.
The function seems to expect that the current schema contains some
foreign key constraints, which it doesn't when I just follow your
script exactly. However, even if I add a few more tables with
foreign-key relationships, all seems well.
Please provide a complete script that will reproduce the problem
starting from an empty database. Also, have you got any extensions
loaded, or any unusual configuration settings?
regards, tom lane
В списке pgsql-bugs по дате отправления:
Сайт использует файлы cookie для корректной работы и повышения удобства. Нажимая кнопку «Принять» или продолжая пользоваться сайтом, вы соглашаетесь на их использование в соответствии с Политикой в отношении обработки cookie ООО «ППГ», в том числе на передачу данных из файлов cookie сторонним статистическим и рекламным службам. Вы можете управлять настройками cookie через параметры вашего браузера