Re: plpgsql function not accepting NULL value

Поиск
Список
Период
Сортировка
От Kenneth Dombrowski
Тема Re: plpgsql function not accepting NULL value
Дата
Msg-id d7ba2730509161627635ae030@mail.gmail.com
обсуждение исходный текст
Ответ на Re: plpgsql function not accepting NULL value  (Michael Fuhr <mike@fuhr.org>)
Список pgsql-sql
On 9/16/05, Michael Fuhr <mike@fuhr.org> wrote:
> On Fri, Sep 16, 2005 at 07:04:39PM -0400, Kenneth Dombrowski wrote:
> > create or replace function update_rate (integer, integer, integer,
> >         integer, numeric, integer)
>
> You've created a function with six arguments.
>
> > invoicer=> select update_rate(1, 1, 10, NULL, numeric '90.00', 6, 216);
> > ERROR:  function update_rate(integer, integer, integer, "unknown",
> > numeric, integer, integer) does not exist
>
> You've called a function with seven arguments.  Which is it supposed
> to be?
>

Ahhhhhh... thanks to both of you.  My eyes are tired.


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

Предыдущее
От: Michael Fuhr
Дата:
Сообщение: Re: plpgsql function not accepting NULL value
Следующее
От: Michael Fuhr
Дата:
Сообщение: Re: alter sequence + subqueries