Re: Error passing parameter to functions

Поиск
Список
Период
Сортировка
От Tom Lane
Тема Re: Error passing parameter to functions
Дата
Msg-id 15809.1015344237@sss.pgh.pa.us
обсуждение исходный текст
Ответ на Error passing parameter to functions  ("Jose Luis LG" <jlopezgonz@terra.es>)
Ответы Re: Error passing parameter to functions  ("Jose Luis LG" <jlopezgonz@terra.es>)
Re: Error passing parameter to functions  ("Jose Luis LG" <jlopezgonz@terra.es>)
Список pgsql-interfaces
"Jose Luis LG" <jlopezgonz@terra.es> writes:
> If I send the themeID as above I get: ERROR: Attribute 'mathematics' not
> found.

As expected.
> If I send the themeID = "'mathematics'" I get:  fmgr_info: function
> 24907: cache lookup failed.

The query syntax is now correct, but there's something broken about your
function definition.  My bet is that the plpgsql call handler function
has been deleted.  Try reinstalling plpgsql --- ie, rerun createlang;
and then recreate your function, since it'll still be pointing at the
old plpgsql OID.
        regards, tom lane


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

Предыдущее
От: Ashley Clark
Дата:
Сообщение: Re: PL/pgSQL Syntax Problem
Следующее
От: hubert.palme@web.de (Hubert Palme)
Дата:
Сообщение: Re: PL/pgSQL Syntax Problem