From: Michael Fuhr <mike@fuhr.org>
To: Kenneth Dombrowski <kdombrowski@gmail.com>
Cc: pgsql-sql@postgresql.org
Subject: Re: plpgsql function not accepting NULL value
Date: Fri, 16 Sep 2005 17:18:35 -0600
Message-ID: <20050916231835.GA88542@winnie.fuhr.org> (raw)
In-Reply-To: <d7ba27305091616046e23e171@mail.gmail.com>
References: <d7ba27305091616046e23e171@mail.gmail.com>
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
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Reply to all the recipients using the --to and --cc options:
reply via email
To: pgsql-sql@postgresql.org
Cc: mike@fuhr.org, kdombrowski@gmail.com
Subject: Re: plpgsql function not accepting NULL value
In-Reply-To: <20050916231835.GA88542@winnie.fuhr.org>
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox