function problem

From: ABHANG RANE <arane(at)indiana(dot)edu>
To: pgsql-general(at)postgresql(dot)org
Subject: function problem
Date: 2007-06-06 20:51:14
Message-ID: 20070606165114.tjautvdflwg40sks@webmail.iu.edu
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general

Hi,
I have written a function called similarity in postgresql which accepts
real[] as argument. I then call it by saying

select * from similarity('{1.232,5.0000, 5.100, 10000}');

I get this error.

Could not choose a best candidate function. You may need to add
explicit type casts.

Is it the way I call is wrong?

Thanks
Abhang

Responses

Browse pgsql-general by date

  From Date Subject
Next Message Simon Riggs 2007-06-06 21:04:42 Re: testing new hardware
Previous Message Ben 2007-06-06 20:26:57 testing new hardware