Received: from malur.postgresql.org ([217.196.149.56]) by arkaria.postgresql.org with esmtp (Exim 4.84_2) (envelope-from ) id 1eHXrI-0005cg-K7 for pgsql-general@arkaria.postgresql.org; Wed, 22 Nov 2017 16:26:44 +0000 Received: from localhost ([127.0.0.1] helo=malur.postgresql.org) by malur.postgresql.org with esmtp (Exim 4.84_2) (envelope-from ) id 1eHXrI-0003O7-6J for pgsql-general@arkaria.postgresql.org; Wed, 22 Nov 2017 16:26:44 +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_2) (envelope-from ) id 1eHXrH-0003Nx-VC for pgsql-general@lists.postgresql.org; Wed, 22 Nov 2017 16:26:44 +0000 Received: from mail.r61.net ([195.208.245.238]) by magus.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_CBC_SHA384:256) (Exim 4.89) (envelope-from ) id 1eHXrE-0007z7-9h for pgsql-general@postgresql.org; Wed, 22 Nov 2017 16:26:43 +0000 Received: from pyhalov.cc.rsu.ru (pyhalov.cc.rsu.ru [195.208.255.102]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) (Authenticated sender: alp@sfedu.ru) by mail.r61.net (MTA) with ESMTPSA id 867276204D4; Wed, 22 Nov 2017 19:26:38 +0300 (MSK) DKIM-Signature: v=1; a=rsa-sha256; c=simple/simple; d=rsu.ru; s=email; t=1511367998; bh=ojknIU1aZbe/VN2s2YEMRHRL1GAEiLtQdjA9RXzYGxI=; h=Subject:To:References:Cc:From:Date:In-Reply-To:From; b=fOti9AIxhuhCs9I8VqWMyyL37NASbj3uIi6AmjVXfruoxxJ4cmAgpZPZ+7S4IvVt+ tC3htLhr8IRYeEOdYsriMrmqKLWbjQz+m5e6Q314Uq9Cr0q4KHImu9VXPFUxz7sO3U IPUmCxmxaZ1N9NBgIxGPJdZHGDNtQWpLw9mi6JWU= Subject: Re: duplicate primary key To: Magnus Hagander References: <310d960a-2ba1-8754-0848-457a61dae154@rsu.ru> Cc: pgsql-general General From: Alexander Pyhalov Message-ID: <90ff4c74-ea25-43b9-8ed9-430c1a0c235c@rsu.ru> Date: Wed, 22 Nov 2017 19:28:04 +0300 User-Agent: Mozilla/5.0 (X11; SunOS i86pc; rv:52.0) Gecko/20100101 Thunderbird/52.4.0 MIME-Version: 1.0 In-Reply-To: Content-Type: text/plain; charset=utf-8; format=flowed Content-Language: en-US Content-Transfer-Encoding: 7bit X-Spam-Status: No, score=-99.2 required=5.0 tests=BAYES_50,UNPARSEABLE_RELAY, USER_IN_WHITELIST autolearn=no autolearn_force=no version=3.4.0 X-Spam-Report: * -100 USER_IN_WHITELIST From: address is in the user's white-list * 0.8 BAYES_50 BODY: Bayes spam probability is 40 to 60% * [score: 0.4989] * 0.0 UNPARSEABLE_RELAY Informational: message has unparseable relay lines X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on mail.r61.net List-Id: List-Help: List-Subscribe: List-Post: List-Owner: List-Archive: Precedence: bulk On 11/22/17 07:24 PM, Magnus Hagander wrote: > What is your postgres version, and what's the "version history" of upgrades > from it (talking pg_upgrade upgrades, not dump/reload upgrades). This might > be fallout from old bugs thaat have been known to cause this type of > problem. > It's PostgreSQL 9.5.10 (64bit), running on Ubuntu 16.04. Last major update was done as full dump/restore. -- Best regards, Alexander Pyhalov, system administrator of Southern Federal University IT department