Search Postgresql Archives

Re: problem with overloading the "coalesce" function

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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


[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Index of Archives]     [Postgresql Jobs]     [Postgresql Admin]     [Postgresql Performance]     [Linux Clusters]     [PHP Home]     [PHP on Windows]     [Kernel Newbies]     [PHP Classes]     [PHP Books]     [PHP Databases]     [Postgresql & PHP]     [Yosemite]
  Powered by Linux