Received: from malur.postgresql.org ([217.196.149.56]) by arkaria.postgresql.org with esmtp (Exim 4.84_2) (envelope-from ) id 1eYnHq-0005uj-Va for pgsql-bugs@arkaria.postgresql.org; Tue, 09 Jan 2018 06:21:27 +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 1eYnHq-00053G-1o for pgsql-bugs@arkaria.postgresql.org; Tue, 09 Jan 2018 06:21:26 +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 1eYnHp-000536-Jb for pgsql-bugs@lists.postgresql.org; Tue, 09 Jan 2018 06:21:25 +0000 Received: from mail-io0-x22a.google.com ([2607:f8b0:4001:c06::22a]) by magus.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_CBC_SHA1:256) (Exim 4.89) (envelope-from ) id 1eYnHl-0001a8-Q5 for pgsql-bugs@postgresql.org; Tue, 09 Jan 2018 06:21:24 +0000 Received: by mail-io0-x22a.google.com with SMTP id i143so17316821ioa.3 for ; Mon, 08 Jan 2018 22:21:21 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=leadboat.com; s=google; h=date:from:to:cc:subject:message-id:references:mime-version :content-disposition:in-reply-to:user-agent; bh=E1Lyh36lCaBFIAhz8BK9988ywNFgMISJ5poiRKl7kX4=; b=YWYvAZCs8YpCiICfrTkQkBAXTpbYaI5xBBgufI05gonjg5hXkFdAyaVmL0hmqrYL8G VdvsKPT2K2YCLn3r9H08km+688HApkshSB7xYESsZ4SkJd+0ReofKGT7M4p4hUIDA7CR uBGN9BexkC65kjDai6ZppGIwaTahh0Kg0ep+I= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:date:from:to:cc:subject:message-id:references :mime-version:content-disposition:in-reply-to:user-agent; bh=E1Lyh36lCaBFIAhz8BK9988ywNFgMISJ5poiRKl7kX4=; b=UiwmzMwZnva/bEjoUC5fJz0KN9h+H2iysr1Ku8/IJ1Ifszy7mQxuYy4hdds46uZlfK SL4olK3dXP9nbAKcUjjQH4fRFFWZKuJijaM7pZlBqlLdTuWfJySKCUTp/SFUwBGUvkiy nUDawIpp9pRKCGSwkaPtjSnhUxbZAUMB4W+GOWGfZ8n4HIH6go2nCdM52eslqxcuRDNp ojwBeG8u+D3R1Zg97/ObOz4z1TLI2YMefBcYBJk5TRjqZvwQKVU06IrGf9sHz7FFir3H SAv6wkUwIy9fgTcq1maxlPQ5VMNNeITCaDFtnLOwgNHKVtafAZLAELO0Q5vrr6XGGrf5 0oZA== X-Gm-Message-State: AKGB3mKJJUalYqa8K3BWTzqCC4NwRBoJPhwa2vtxi3RwBCOnToLD8+Lx TLnIOVy/QMBmaOEzXbs33+zcig== X-Google-Smtp-Source: ACJfBovpO8elBleRAkVx+uy531mTEcrYpM5OrTlk2AnqmpQeErf3ooV+qGmIE7tGMTODDA9wjGR0eA== X-Received: by 10.107.31.211 with SMTP id f202mr14338333iof.105.1515478879332; Mon, 08 Jan 2018 22:21:19 -0800 (PST) Received: from rfd.leadboat.com (c-73-158-248-138.hsd1.ca.comcast.net. [73.158.248.138]) by smtp.gmail.com with ESMTPSA id 6sm7620462iow.55.2018.01.08.22.21.17 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Mon, 08 Jan 2018 22:21:17 -0800 (PST) Date: Mon, 8 Jan 2018 22:21:15 -0800 From: Noah Misch To: Michael Paquier Cc: tony.reix@atos.net, pgsql-bugs@postgresql.org Subject: Re: BUG #14983: ERROR: duplicate key value violates unique constraint "oid_tbl_oid_key" Message-ID: <20180109062115.GA3217003@rfd.leadboat.com> References: <20171218153618.25743.45604@wrigleys.postgresql.org> <20180109053735.GJ76418@paquier.xyz> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20180109053735.GJ76418@paquier.xyz> User-Agent: Mutt/1.5.24 (2015-08-30) List-Id: List-Help: List-Subscribe: List-Post: List-Owner: List-Archive: Precedence: bulk On Tue, Jan 09, 2018 at 02:37:35PM +0900, Michael Paquier wrote: > On Mon, Dec 18, 2017 at 03:36:18PM +0000, PG Bug reporting form wrote: > > Errors appearing in logs: > > 1) src/bin/pgbench/tmp_check/log/001_pgbench_main.log : > > 2017-12-18 16:07:39.268 CET [12976136] t/001_pgbench.pl LOG: execute > > P0_0: INSERT INTO oid_tbl SELECT FROM generate_series(1,1000); > > 2017-12-18 16:07:39.268 CET [13041676] t/001_pgbench.pl ERROR: duplicate > > key value violates unique constraint "oid_tbl_oid_key" > > 2017-12-18 16:07:39.268 CET [13041676] t/001_pgbench.pl DETAIL: Key > > (oid)=(100291) already exists. > > 2017-12-18 16:07:39.268 CET [13041676] t/001_pgbench.pl STATEMENT: > > INSERT INTO oid_tbl SELECT FROM generate_series(1,1000); > > 2017-12-18 16:07:39.285 CET [12386468] t/001_pgbench.pl LOG: execute > > P0_0: INSERT INTO oid_tbl SELECT FROM generate_series(1,1000); > > This comes from 001_pgbench.pl, which aims at testing LWLock and > spinlock concurrency. This visibly points to something going wrong with > what happens on AIX for XLC 13. Known defect: https://postgr.es/m/flat/a72cfcb0-37d0-de2f-b3ec-f38ad8d6a8cc@postgrespro.ru