From: | Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us> |
---|---|
To: | Fijil Stephen <fijil(dot)stephen(at)mooobleiit(dot)com> |
Cc: | pgsql-bugs(at)postgresql(dot)org |
Subject: | Re: i cannot able to delete the sql function permenently |
Date: | 2012-05-29 16:49:30 |
Message-ID: | 13527.1338310170@sss.pgh.pa.us |
Views: | Raw Message | Whole Thread | Download mbox | Resend email |
Thread: | |
Lists: | pgsql-bugs |
Fijil Stephen <fijil(dot)stephen(at)mooobleiit(dot)com> writes:
> Hi I am created a function
> CREATE FUNCTION one(float,float) RETURNS float AS $$
> select $1+$2 AS result;
> $$ LANGUAGE SQL;
> Its worked
> Then
> I droped the function
> Drop function one(float,float)
> Its also worked
> Then I typed
> Select one(18.5,12.4)
> Ho the result appers as 31.9
I don't see any reason to think this is a bug; it just indicates that
you have another function named one() that can accept two numeric
parameters. Perhaps it is declared differently than (float, float),
or perhaps it's in a different schema in your search path. It might
help to do "\df one" in psql to see what you've got.
regards, tom lane
From | Date | Subject | |
---|---|---|---|
Next Message | Robert Haas | 2012-05-29 17:40:08 | Re: pg_dump: SQL command failed |
Previous Message | Fijil Stephen | 2012-05-29 09:50:14 | i cannot able to delete the sql function permenently |