Received: from malur.postgresql.org ([217.196.149.56]) by arkaria.postgresql.org with esmtp (Exim 4.80) (envelope-from ) id 1aIlw4-0000od-O1 for pgsql-bugs@arkaria.postgresql.org; Mon, 11 Jan 2016 23:31:40 +0000 Received: from localhost ([127.0.0.1] helo=postgresql.org) by malur.postgresql.org with smtp (Exim 4.84) (envelope-from ) id 1aIlw4-00046i-AN for pgsql-bugs@arkaria.postgresql.org; Mon, 11 Jan 2016 23:31:40 +0000 Received: from magus.postgresql.org ([2a02:c0:301:0:ffff::29]) by malur.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_CBC_SHA384:256) (Exim 4.84) (envelope-from ) id 1aIlw3-00044c-5Q for pgsql-bugs@postgresql.org; Mon, 11 Jan 2016 23:31:39 +0000 Received: from hogranch.com ([75.101.82.47]) by magus.postgresql.org with esmtp (Exim 4.84) (envelope-from ) id 1aIlw0-0007Vf-Cd for pgsql-bugs@postgresql.org; Mon, 11 Jan 2016 23:31:38 +0000 Received: from [192.168.0.2] (porker [192.168.0.2]) by hogranch.com (8.11.6/8.11.6) with ESMTP id u0BNVS720355; Mon, 11 Jan 2016 15:31:29 -0800 Subject: Re: BUG #13860: Duplicated primary key To: baso10dev@gmail.com, pgsql-bugs@postgresql.org References: <20160111223433.2145.94068@wrigleys.postgresql.org> Reply-To: "pgsql-bugs@postgresql.org" From: John R Pierce Message-ID: <56943B4D.6050608@hogranch.com> Date: Mon, 11 Jan 2016 15:31:25 -0800 User-Agent: Mozilla/5.0 (Windows NT 10.0; WOW64; rv:38.0) Gecko/20100101 Thunderbird/38.5.0 MIME-Version: 1.0 In-Reply-To: <20160111223433.2145.94068@wrigleys.postgresql.org> Content-Type: text/plain; charset=utf-8; format=flowed Content-Transfer-Encoding: 7bit X-HawgScanner-Information: Please contact the ISP for more information X-HawgScanner: Found to be clean X-Pg-Spam-Score: -1.9 (-) 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 1/11/2016 2:34 PM, baso10dev@gmail.com wrote: > The following bug has been logged on the website: > > Bug reference: 13860 > Logged by: baso10 > Email address:baso10dev@gmail.com > PostgreSQL version: 9.4.5 > Operating system: Debian 4.9.2-10 64-bit > Description: > > Table has duplicated values in primary key column. > > I have a table A. > I have created table B that inherits table A. > > After playing around I noticed there are duplicate keys in table A. > > Thanks thats not exactly a reproducible bug as reported. Its also a 'should never happen' sort of thing, about the only way I can see it happening is if the primary key index somehow got corrupted (typically due to hardware problems). (do note, I'm just a fellow user, not a member of the PG core team or anything... please reply to the pgsql-bugs list rather than me directly). -- john r pierce, recycling bits in santa cruz -- Sent via pgsql-bugs mailing list (pgsql-bugs@postgresql.org) To make changes to your subscription: http://www.postgresql.org/mailpref/pgsql-bugs