From: Heikki Linnakangas <hlinnakangas@vmware.com>
To: vladimir.jovanovic@aparteko.com
Cc: pgsql-bugs@postgresql.org
Subject: Re: BUG #8168: duplicated function signature
Date: Fri, 17 May 2013 17:11:52 +0300
Message-ID: <51963AA8.5040701@vmware.com> (raw)
In-Reply-To: <E1UdHwG-00021u-VN@wrigleys.postgresql.org>
References: <E1UdHwG-00021u-VN@wrigleys.postgresql.org>
List-Unsubscribe: <mailto:majordomo@postgresql.org?body=unsub%20pgsql-bugs>
On 17.05.2013 13:31, vladimir.jovanovic@aparteko.com wrote:
> I noticed that I have two functions with the same signature.
>
> sp_get_league_prediction(IN _id bigint, IN _rank integer, IN
> _log_in_expectence double precision, IN _feathers_gained integer, IN
> _tokens_all integer, IN _tokens_active integer, IN _score integer)
>
> sp_get_league_prediction(_id bigint, _rank integer, _log_in_expectence
> double precision, _feathers_gained integer, _tokens_all integer,
> _tokens_active integer, _score integer)
In addition to higher-level checks, there is a unique index in the
pg_proc catalog that should not let that happen, so to be honest, I find
that hard to believe. Are you 100% they have the same signature? Are
they in different schemas, perhaps? In psql, what does "\df
sp_get_league_prediction" return?
- Heikki
--
Sent via pgsql-bugs mailing list (pgsql-bugs@postgresql.org)
To make changes to your subscription:
http://www.postgresql.org/mailpref/pgsql-bugs
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: hlinnakangas@vmware.com, vladimir.jovanovic@aparteko.com
Subject: Re: BUG #8168: duplicated function signature
In-Reply-To: <51963AA8.5040701@vmware.com>
References: <E1UdHwG-00021u-VN@wrigleys.postgresql.org> <51963AA8.5040701@vmware.com>
* 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