From: | Richard Huxton <dev(at)archonet(dot)com> |
---|---|
To: | Emil Rachovsky <zsevgymko(at)yahoo(dot)com> |
Cc: | "pgsql-general(at)postgresql(dot)org" <pgsql-general(at)postgresql(dot)org>, "pgsql-sql(at)postgresql(dot)org" <pgsql-sql(at)postgresql(dot)org> |
Subject: | Re: problem with overloading the "coalesce" function |
Date: | 2006-03-06 10:41:29 |
Message-ID: | 440C11D9.3090907@archonet.com |
Views: | Raw Message | Whole Thread | Download mbox | Resend email |
Thread: | |
Lists: | pgsql-general pgsql-sql |
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
From | Date | Subject | |
---|---|---|---|
Next Message | Emil Rachovsky | 2006-03-06 11:13:33 | Re: problem with overloading the "coalesce" function |
Previous Message | Emil Rachovsky | 2006-03-06 10:18:12 | problem with overloading the "coalesce" function |
From | Date | Subject | |
---|---|---|---|
Next Message | Emil Rachovsky | 2006-03-06 11:13:33 | Re: problem with overloading the "coalesce" function |
Previous Message | Emil Rachovsky | 2006-03-06 10:18:12 | problem with overloading the "coalesce" function |