Received: from malur.postgresql.org ([217.196.149.56]) by arkaria.postgresql.org with esmtp (Exim 4.72) (envelope-from ) id 1UdLox-0004p3-M1 for pgsql-bugs@arkaria.postgresql.org; Fri, 17 May 2013 14:39:47 +0000 Received: from localhost ([127.0.0.1] helo=postgresql.org) by malur.postgresql.org with smtp (Exim 4.72) (envelope-from ) id 1UdLow-00021Y-VV for pgsql-bugs@arkaria.postgresql.org; Fri, 17 May 2013 14:39:47 +0000 Received: from makus.postgresql.org ([2001:4800:7903:4::125]) by malur.postgresql.org with esmtp (Exim 4.72) (envelope-from ) id 1UdLow-00021T-AG for pgsql-bugs@postgresql.org; Fri, 17 May 2013 14:39:46 +0000 Received: from sss.pgh.pa.us ([66.207.139.130]) by makus.postgresql.org with esmtp (Exim 4.72) (envelope-from ) id 1UdLoq-0004CQ-Be for pgsql-bugs@postgresql.org; Fri, 17 May 2013 14:39:45 +0000 Received: from sss2.sss.pgh.pa.us (tgl@localhost [127.0.0.1]) by sss.pgh.pa.us (8.14.5/8.14.5) with ESMTP id r4HEdcWV023237; Fri, 17 May 2013 10:39:38 -0400 (EDT) From: Tom Lane To: Heikki Linnakangas cc: vladimir.jovanovic@aparteko.com, pgsql-bugs@postgresql.org Subject: Re: BUG #8168: duplicated function signature In-reply-to: <51963AA8.5040701@vmware.com> References: <51963AA8.5040701@vmware.com> Comments: In-reply-to Heikki Linnakangas message dated "Fri, 17 May 2013 17:11:52 +0300" Date: Fri, 17 May 2013 10:39:38 -0400 Message-ID: <23236.1368801578@sss.pgh.pa.us> X-Pg-Spam-Score: 0.2 (/) List-Archive: List-Help: List-ID: List-Owner: List-Post: List-Subscribe: List-Unsubscribe: X-Mailing-List: pgsql-bugs Precedence: bulk Sender: pgsql-bugs-owner@postgresql.org Heikki Linnakangas 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