Received: from malur.postgresql.org ([217.196.149.56]) by arkaria.postgresql.org with esmtp (Exim 4.72) (envelope-from ) id 1UdLO7-00034D-CL for pgsql-bugs@arkaria.postgresql.org; Fri, 17 May 2013 14:12:03 +0000 Received: from localhost ([127.0.0.1] helo=postgresql.org) by malur.postgresql.org with smtp (Exim 4.72) (envelope-from ) id 1UdLO6-0007TN-HE for pgsql-bugs@arkaria.postgresql.org; Fri, 17 May 2013 14:12:02 +0000 Received: from magus.postgresql.org ([2a02:c0:301:0:ffff::29]) by malur.postgresql.org with esmtp (Exim 4.72) (envelope-from ) id 1UdLO5-0007TI-WA for pgsql-bugs@postgresql.org; Fri, 17 May 2013 14:12:02 +0000 Received: from smtp-outbound-2.vmware.com ([208.91.2.13]) by magus.postgresql.org with esmtp (Exim 4.72) (envelope-from ) id 1UdLO2-0005i4-QG for pgsql-bugs@postgresql.org; Fri, 17 May 2013 14:12:01 +0000 Received: from sc9-mailhost3.vmware.com (sc9-mailhost3.vmware.com [10.113.161.73]) by smtp-outbound-2.vmware.com (Postfix) with ESMTP id EB5A128947; Fri, 17 May 2013 07:11:57 -0700 (PDT) Received: from zcs-prod-ext-mta-2.vmware.com (zcs-prod-ext-mta-2.vmware.com [10.113.62.224]) by sc9-mailhost3.vmware.com (Postfix) with ESMTP id E7FAA409B2; Fri, 17 May 2013 07:11:57 -0700 (PDT) Received: from zcs-prod-ext-mta-2.vmware.com (localhost.localdomain [127.0.0.1]) by zcs-prod-ext-mta-2.vmware.com (Postfix) with ESMTP id 82004C005D; Fri, 17 May 2013 07:11:52 -0700 (PDT) Received: from [192.168.1.90] (zimbra-prod-ext-proxy-vip.vmware.com [10.113.63.87]) by zcs-prod-ext-mta-2.vmware.com (Postfix) with ESMTPSA; Fri, 17 May 2013 07:11:50 -0700 (PDT) Message-ID: <51963AA8.5040701@vmware.com> Date: Fri, 17 May 2013 17:11:52 +0300 From: Heikki Linnakangas Organization: VMware User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:10.0.12) Gecko/20130116 Icedove/10.0.12 MIME-Version: 1.0 To: vladimir.jovanovic@aparteko.com CC: pgsql-bugs@postgresql.org Subject: Re: BUG #8168: duplicated function signature References: In-Reply-To: Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit X-Pg-Spam-Score: -7.5 (-------) 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 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