function problem - Mailing list pgsql-general

From ABHANG RANE
Subject function problem
Date
Msg-id 20070606165114.tjautvdflwg40sks@webmail.iu.edu
Whole thread Raw
Responses Re: function problem  (Tom Lane <tgl@sss.pgh.pa.us>)
List 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


pgsql-general by date:

Previous
From: Ben
Date:
Subject: testing new hardware
Next
From: "Simon Riggs"
Date:
Subject: Re: testing new hardware