From: Tom Lane <tgl@sss.pgh.pa.us>
To: Fijil Stephen <fijil.stephen@mooobleiit.com>
Cc: pgsql-bugs@postgresql.org
Subject: Re: i cannot able to delete the sql function permenently
Date: Tue, 29 May 2012 12:49:30 -0400
Message-ID: <13527.1338310170@sss.pgh.pa.us> (raw)
In-Reply-To: <3ebca045-576b-4042-8509-01c81a6f8a88@www.uroemail.com>
References: <3ebca045-576b-4042-8509-01c81a6f8a88@www.uroemail.com>
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
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Reply to all the recipients from your mail client; the link fills in
the headers below: reply via email
Some clients, webmail especially, drop In-Reply-To and References from
a link, and the reply then starts a new thread: use the mbox below.
To: pgsql-bugs@postgresql.org
Cc: tgl@sss.pgh.pa.us, fijil.stephen@mooobleiit.com
Subject: Re: i cannot able to delete the sql function permenently
In-Reply-To: <13527.1338310170@sss.pgh.pa.us>
References: <3ebca045-576b-4042-8509-01c81a6f8a88@www.uroemail.com> <13527.1338310170@sss.pgh.pa.us>
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
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