pg.ddx.io  pgsql-bugs@postgresql.org mailing list archive  
help / color / mirror / Atom feed
i cannot able to delete the sql function permenently
2+ messages / 2 participants
[nested] [flat]

* i cannot able to delete the sql function permenently
@ 2012-05-29 09:50 Fijil Stephen <fijil.stephen@mooobleiit.com>
  2012-05-29 16:49 ` Re: i cannot able to delete the sql function permenently Tom Lane <tgl@sss.pgh.pa.us>
  0 siblings, 1 reply; 2+ messages in thread

From: Fijil Stephen @ 2012-05-29 09:50 UTC (permalink / raw)
  To: pgsql-bugs

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

How is it
???
Pls replay



^ permalink  raw  reply  [nested|flat] 2+ messages in thread

* Re: i cannot able to delete the sql function permenently
  2012-05-29 09:50 i cannot able to delete the sql function permenently Fijil Stephen <fijil.stephen@mooobleiit.com>
@ 2012-05-29 16:49 ` Tom Lane <tgl@sss.pgh.pa.us>
  0 siblings, 0 replies; 2+ messages in thread

From: Tom Lane @ 2012-05-29 16:49 UTC (permalink / raw)
  To: Fijil Stephen <fijil.stephen@mooobleiit.com>; +Cc: pgsql-bugs

Fijil Stephen <fijil.stephen@mooobleiit.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



^ permalink  raw  reply  [nested|flat] 2+ messages in thread


end of thread, other threads:[~2012-05-29 16:49 UTC | newest]

Thread overview: 2+ messages (download: mbox mbox.gz follow: Atom feed)
-- links below jump to the message on this page --
2012-05-29 09:50 i cannot able to delete the sql function permenently Fijil Stephen <fijil.stephen@mooobleiit.com>
2012-05-29 16:49 ` Tom Lane <tgl@sss.pgh.pa.us>

This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox