Re: BUG #3695: Pgsql does not report non existing function

Поиск
Список
Период
Сортировка
От Tom Lane
Тема Re: BUG #3695: Pgsql does not report non existing function
Дата
Msg-id 15410.1193322974@sss.pgh.pa.us
обсуждение исходный текст
Ответ на BUG #3695: Pgsql does not report non existing function  ("Roger" <ramoloney@hotmail.com>)
Список pgsql-bugs
"Roger" <ramoloney@hotmail.com> writes:
> Description:        Pgsql does not report non existing function

Works fine for me:

regression=# create function foo() returns int as $$
regression$# declare x int;
regression$# begin
regression$#   x := nosuchfunc(42);
regression$# end$$ language plpgsql;
CREATE FUNCTION
regression=# select foo();
ERROR:  function nosuchfunc(integer) does not exist
LINE 1: SELECT  nosuchfunc(42)
                ^
HINT:  No function matches the given name and argument types. You might need to add explicit type casts.
QUERY:  SELECT  nosuchfunc(42)
CONTEXT:  PL/pgSQL function "foo" line 3 at assignment
regression=#

            regards, tom lane

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

Предыдущее
От: Gregory Stark
Дата:
Сообщение: Re: Yet another problem with ILIKE and UTF-8
Следующее
От: "Marc Mamin"
Дата:
Сообщение: BUG #3697: utf8 issue: can not reimport a table that was successfully exported.