pg.ddx.io  pgsql-bugs@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Tom Lane <tgl@sss.pgh.pa.us>
To: Heikki Linnakangas <hlinnakangas@vmware.com>
Cc: vladimir.jovanovic@aparteko.com
Cc: pgsql-bugs@postgresql.org
Subject: Re: BUG #8168: duplicated function signature
Date: Fri, 17 May 2013 10:39:38 -0400
Message-ID: <23236.1368801578@sss.pgh.pa.us> (raw)
In-Reply-To: <51963AA8.5040701@vmware.com>
References: <E1UdHwG-00021u-VN@wrigleys.postgresql.org>
	<51963AA8.5040701@vmware.com>
List-Unsubscribe: <mailto:majordomo@postgresql.org?body=unsub%20pgsql-bugs>

Heikki Linnakangas <hlinnakangas@vmware.com> writes:
> 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?

If they are in different schemas, you'd probably need
	\df *.sp_get_league_prediction
to see both.

			regards, tom lane


-- 
Sent via pgsql-bugs mailing list (pgsql-bugs@postgresql.org)
To make changes to your subscription:
http://www.postgresql.org/mailpref/pgsql-bugs



view thread (6+ messages)  latest in thread

Message-ID: <23236.1368801578@sss.pgh.pa.us>
Permalink:  ../23236.1368801578@sss.pgh.pa.us/
Also on:    postgresql.org/message-id/23236.1368801578@sss.pgh.pa.us

 · 

reply

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, hlinnakangas@vmware.com, vladimir.jovanovic@aparteko.com
  Subject: Re: BUG #8168: duplicated function signature
  In-Reply-To: <23236.1368801578@sss.pgh.pa.us>
  References: <E1UdHwG-00021u-VN@wrigleys.postgresql.org> <51963AA8.5040701@vmware.com> <23236.1368801578@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