From: Kenneth Dombrowski <kdombrowski@gmail.com>
To: pgsql-sql@postgresql.org
Subject: Re: plpgsql function not accepting NULL value
Date: Fri, 16 Sep 2005 19:27:10 -0400
Message-ID: <d7ba2730509161627635ae030@mail.gmail.com> (raw)
In-Reply-To: <20050916231835.GA88542@winnie.fuhr.org>
References: <d7ba27305091616046e23e171@mail.gmail.com>
<20050916231835.GA88542@winnie.fuhr.org>
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.
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: kdombrowski@gmail.com
Subject: Re: plpgsql function not accepting NULL value
In-Reply-To: <d7ba2730509161627635ae030@mail.gmail.com>
* 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