Re: plpgsql function not accepting NULL value - Mailing list pgsql-sql

From Kenneth Dombrowski
Subject Re: plpgsql function not accepting NULL value
Date
Msg-id d7ba2730509161627635ae030@mail.gmail.com
Whole thread Raw
In response to Re: plpgsql function not accepting NULL value  (Michael Fuhr <mike@fuhr.org>)
List 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 by date:

Previous
From: Michael Fuhr
Date:
Subject: Re: plpgsql function not accepting NULL value
Next
From: Michael Fuhr
Date:
Subject: Re: alter sequence + subqueries