Received: from malur.postgresql.org ([217.196.149.56]) by arkaria.postgresql.org with esmtp (Exim 4.72) (envelope-from ) id 1UdLGs-0002Ut-Nw for pgsql-bugs@arkaria.postgresql.org; Fri, 17 May 2013 14:04:34 +0000 Received: from localhost ([127.0.0.1] helo=postgresql.org) by malur.postgresql.org with smtp (Exim 4.72) (envelope-from ) id 1UdLGs-0005X3-33 for pgsql-bugs@arkaria.postgresql.org; Fri, 17 May 2013 14:04:34 +0000 Received: from magus.postgresql.org ([2a02:c0:301:0:ffff::29]) by malur.postgresql.org with esmtp (Exim 4.72) (envelope-from ) id 1UdHwU-0000NH-Ko for pgsql-bugs@postgresql.org; Fri, 17 May 2013 10:31:18 +0000 Received: from mahout.postgresql.org ([2001:4800:7903:4::123]) by magus.postgresql.org with esmtp (Exim 4.72) (envelope-from ) id 1UdHwN-0001Td-Bm for pgsql-bugs@postgresql.org; Fri, 17 May 2013 10:31:18 +0000 Received: from [204.145.124.246] (helo=wrigleys.postgresql.org) by mahout.postgresql.org with esmtp (Exim 4.72) (envelope-from ) id 1UdHwM-0007dC-5B for pgsql-bugs@postgresql.org; Fri, 17 May 2013 10:31:10 +0000 Received: from www-data by wrigleys.postgresql.org with local (Exim 4.72) (envelope-from ) id 1UdHwG-00021u-VN for pgsql-bugs@postgresql.org; Fri, 17 May 2013 10:31:04 +0000 Date: Fri, 17 May 2013 10:31:04 +0000 Message-Id: Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: quoted-printable Subject: BUG #8168: duplicated function signature To: pgsql-bugs@postgresql.org From: vladimir.jovanovic@aparteko.com X-Pg-Spam-Score: -2.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 The following bug has been logged on the website: Bug reference: 8168 Logged by: Vladimir Jovanovi=C4=87 Email address: vladimir.jovanovic@aparteko.com PostgreSQL version: 8.4.11 Operating system: PostgreSQL 8.4.11 on x86_64-redhat-linux-gnu, com Description:=20=20=20=20=20=20=20=20 Hi, 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) Actually, I created first one with intention, but the second function appeared when I executed the following code when I wanted to replace the function: CREATE OR REPLACE FUNCTION 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) RETURNS SETOF record AS $BODY$ DECLARE BEGIN --=20 Sent via pgsql-bugs mailing list (pgsql-bugs@postgresql.org) To make changes to your subscription: http://www.postgresql.org/mailpref/pgsql-bugs