Re: cache lookup failed from empty plpythonu function

Поиск
Список
Период
Сортировка
От Tom Lane
Тема Re: cache lookup failed from empty plpythonu function
Дата
Msg-id 1566.1359143499@sss.pgh.pa.us
обсуждение исходный текст
Ответ на Re: cache lookup failed from empty plpythonu function  (Andres Freund <andres@2ndquadrant.com>)
Ответы Re: cache lookup failed from empty plpythonu function  (Andres Freund <andres@2ndquadrant.com>)
Список pgsql-bugs
Andres Freund <andres@2ndquadrant.com> writes:
> Its slightly more complex than just making it one hash table with an
> extended key. When validating a trigger function we don't have a
> relation to do the cache lookup. I chose to handle that case by not
> doing a cache lookup at all in that case which imo is a sensible
> choice.

Seems fair.  However ... why is it safe for PLy_procedure_create to be
using the same name for multiple instances of a trigger function?
Should we not be including the rel OID when building the procName
string?

            regards, tom lane

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

Предыдущее
От: Andres Freund
Дата:
Сообщение: Re: cache lookup failed from empty plpythonu function
Следующее
От: Alvaro Herrera
Дата:
Сообщение: Re: Re: BUG #7748: "drop owned by" fails with error message: "unrecognized object class: 1262"