| От | Tom Lane |
|---|---|
| Тема | Re: Function problems, cache lookup failed |
| Дата | |
| Msg-id | 7021.1028210469@sss.pgh.pa.us обсуждение исходный текст |
| Ответ на | Function problems, cache lookup failed (Archibald Zimonyi <archie@netg.se>) |
| Список | pgsql-sql |
Archibald Zimonyi <archie@netg.se> writes:
> ERROR: fmgr_info: function 18308: cache lookup failed
> I have no idea what this is, can anyone help me?
The aggregate links to the function by OID. You deleted the function
and recreated it, which means it's a new function with a new OID and
so the aggregate is broken.
You'll need to drop and recreate the aggregate too. Next time use
CREATE OR REPLACE FUNCTION so you don't need to do that. (With
CREATE OR REPLACE, you are just modifying the existing function,
so its OID doesn't change.)
7.3 will prevent this sort of mistake...
regards, tom lane
В списке pgsql-sql по дате отправления:
Сайт использует файлы cookie для корректной работы и повышения удобства. Нажимая кнопку «Принять» или продолжая пользоваться сайтом, вы соглашаетесь на их использование в соответствии с Политикой в отношении обработки cookie ООО «ППГ», в том числе на передачу данных из файлов cookie сторонним статистическим и рекламным службам. Вы можете управлять настройками cookie через параметры вашего браузера