Re: ERROR: fmgr_info: function 0: cache lookup failed

Поиск
Список
Период
Сортировка
От Tom Lane
Тема Re: ERROR: fmgr_info: function 0: cache lookup failed
Дата
Msg-id 27847.994263561@sss.pgh.pa.us
обсуждение исходный текст
Ответ на Re: ERROR: fmgr_info: function 0: cache lookup failed  (Alex Pilosov <alex@pilosoft.com>)
Список pgsql-general
Alex Pilosov <alex@pilosoft.com> writes:
> Currently, you must do:
> CREATE FUNCTION tabrecord (OID) returns tab1 AS '...

Right, "returns record" is bogus.  The reason for the peculiar
error message seems to be that plpgsql is sloppy about checking
pg_type.typisdefined before believing that it has a valid type name.
I suspect this oversight is widespread :-(

            regards, tom lane

В списке pgsql-general по дате отправления:

Предыдущее
От: Tom Lane
Дата:
Сообщение: Re: Re: lo wrappers - still working on it
Следующее
От: Philip Molter
Дата:
Сообщение: Re: Determining scan types