Received: from maia.hub.org (maia-5.hub.org [200.46.204.29]) by mail.postgresql.org (Postfix) with ESMTP id 911961336B42 for ; Tue, 7 Dec 2010 16:19:32 -0400 (AST) Received: from mail.postgresql.org ([200.46.204.86]) by maia.hub.org (mx1.hub.org [200.46.204.29]) (amavisd-maia, port 10024) with ESMTP id 32515-02 for ; Tue, 7 Dec 2010 20:19:25 +0000 (UTC) X-Greylist: from auto-whitelisted by SQLgrey-1.7.6 Received: from sss.pgh.pa.us (sss.pgh.pa.us [66.207.139.130]) by mail.postgresql.org (Postfix) with ESMTP id C6B60133655C for ; Tue, 7 Dec 2010 16:19:24 -0400 (AST) Received: from sss2.sss.pgh.pa.us (tgl@localhost [127.0.0.1]) by sss.pgh.pa.us (8.14.2/8.14.2) with ESMTP id oB7KJNrQ027632; Tue, 7 Dec 2010 15:19:23 -0500 (EST) To: Jon Nelson cc: pgsql-bugs@postgresql.org Subject: Re: unexpected "ERROR: concurrent delete in progress" In-reply-to: References: Comments: In-reply-to Jon Nelson message dated "Tue, 07 Dec 2010 13:51:07 -0600" Date: Tue, 07 Dec 2010 15:19:23 -0500 Message-ID: <27631.1291753163@sss.pgh.pa.us> From: Tom Lane X-Virus-Scanned: Maia Mailguard 1.0.1 X-Spam-Status: No, hits=-1.91 tagged_above=-5 required=5 tests=BAYES_00=-1.9, T_RP_MATCHES_RCVD=-0.01 X-Spam-Level: X-Archive-Number: 201012/59 X-Sequence-Number: 28865 Jon Nelson writes: > While tracking down some issues that /might/ be kernel related, I ran > into an error message: > ERROR: concurrent delete in progress > With this SQL in a file (t.sql): > begin; > create temporary table foo as select x as a, ARRAY[x] as b FROM > generate_series(1, 10000000 ) AS x; > create index foo_a_idx on foo (a); > create index foo_b_idx on foo USING GIN (b); > rollback; > I had issued this bash: > while true; do psql -f t.sql test >> out 2>&1; done > and after a dozen or so iterations I encountered that error message. > Now, it *might* be kernel related, but what else might it be? > I'm on Linux x86_64, using postgresql 8.4.5. FWIW, I can't replicate that using either HEAD or current 8.4.x, on Fedora 13 x86_64. It's quite unobvious though how kernel or hardware flakiness might lead to that message. *Maybe* you could get it from a dropped hint-bit or some such, but I don't see a clear explanation. regards, tom lane