From: Richard Huxton <dev@archonet.com>
To: Emil Rachovsky <zsevgymko@yahoo.com>
Cc: pgsql-general@postgresql.org <pgsql-general@postgresql.org>
Cc: pgsql-sql@postgresql.org <pgsql-sql@postgresql.org>
Subject: Re: problem with overloading the "coalesce" function
Date: Mon, 06 Mar 2006 10:41:29 +0000
Message-ID: <440C11D9.3090907@archonet.com> (raw)
In-Reply-To: <20060306101812.89563.qmail@web54308.mail.yahoo.com>
References: <20060306101812.89563.qmail@web54308.mail.yahoo.com>
Emil Rachovsky wrote:
>
> Hi,
> I am trying to overload the "coalesce" function to
> accept an integer and a string. Here it is :
>
> CREATE OR REPLACE FUNCTION "coalesce"(a int4, b
> "varchar")
> RETURNS "varchar" AS
...
> I have added it to pg_catalog, but still I cant't use
> it, I get an error on the second parameter
What is the error?
--
Richard Huxton
Archonet Ltd
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: dev@archonet.com, zsevgymko@yahoo.com, pgsql-general@postgresql.org
Subject: Re: problem with overloading the "coalesce" function
In-Reply-To: <440C11D9.3090907@archonet.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