Re: problem with overloading the "coalesce" function - Mailing list pgsql-general

From Richard Huxton
Subject Re: problem with overloading the "coalesce" function
Date
Msg-id 440C11D9.3090907@archonet.com
Whole thread Raw
In response to problem with overloading the "coalesce" function  (Emil Rachovsky <zsevgymko@yahoo.com>)
Responses Re: problem with overloading the "coalesce" function  (Emil Rachovsky <zsevgymko@yahoo.com>)
List pgsql-general
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

pgsql-general by date:

Previous
From: Emil Rachovsky
Date:
Subject: problem with overloading the "coalesce" function
Next
From: Emil Rachovsky
Date:
Subject: Re: problem with overloading the "coalesce" function