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

From Michael Fuhr
Subject Re: plpgsql function not accepting NULL value
Date
Msg-id 20050916231835.GA88542@winnie.fuhr.org
Whole thread Raw
In response to plpgsql function not accepting NULL value  (Kenneth Dombrowski <kdombrowski@gmail.com>)
Responses Re: plpgsql function not accepting NULL value
List pgsql-sql
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?

-- 
Michael Fuhr


pgsql-sql by date:

Previous
From: Alvaro Herrera
Date:
Subject: Re: alter sequence + subqueries
Next
From: Kenneth Dombrowski
Date:
Subject: Re: plpgsql function not accepting NULL value