Re: [GENERAL] function overloading

2006-01-10 Thread Robert Greimel
On Mon, 2006-01-09 at 20:28, Tom Lane wrote: > Robert Greimel <[EMAIL PROTECTED]> writes: > > I have a question regarding function overloading: > > > assume that you have a function that takes several numeric arguments - > > lets for example say 4 arguments: f(a,b,c,d) > > > Now further assume th

Re: [GENERAL] function overloading

2006-01-09 Thread Tom Lane
Robert Greimel <[EMAIL PROTECTED]> writes: > I have a question regarding function overloading: > assume that you have a function that takes several numeric arguments - > lets for example say 4 arguments: f(a,b,c,d) > Now further assume that internally in the function the first thing you > do is t

[GENERAL] function overloading

2006-01-09 Thread Robert Greimel
Hi, I have a question regarding function overloading: assume that you have a function that takes several numeric arguments - lets for example say 4 arguments: f(a,b,c,d) Now further assume that internally in the function the first thing you do is to convert the arguments to double precision, do

Re: [GENERAL] function overloading / ambigous functions

2001-03-05 Thread Tom Lane
Kyle <[EMAIL PROTECTED]> writes: > CREATE FUNCTION my_search(int2, int2, int2, int2) > RETURNS int4 AS '/home/kaf/lib/my_search.so', > 'my_search' LANGUAGE 'c'; > CREATE FUNCTION my_search(float8, float8, float8, float8) > RETURNS int4 AS '/home/kaf/lib/my_search.so', > 'my_search_flo