pg.ddx.io  pgsql-bugs@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Tom Lane <tgl@sss.pgh.pa.us>
To: Jon Nelson <jnelson+pgsql@jamponi.net>
Cc: pgsql-bugs@postgresql.org
Subject: Re: unexpected "ERROR: concurrent delete in progress"
Date: Tue, 07 Dec 2010 15:19:23 -0500
Message-ID: <27631.1291753163@sss.pgh.pa.us> (raw)
In-Reply-To: <AANLkTimd_Zx0wbs9KazRbO11jD301=9p=KpUXqij9oGr@mail.gmail.com>
References: <AANLkTimd_Zx0wbs9KazRbO11jD301=9p=KpUXqij9oGr@mail.gmail.com>

Jon Nelson <jnelson+pgsql@jamponi.net> 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



view thread (2+ messages)

Message-ID: <27631.1291753163@sss.pgh.pa.us>
Permalink:  ../27631.1291753163@sss.pgh.pa.us/
Also on:    postgresql.org/message-id/27631.1291753163@sss.pgh.pa.us

 · 

reply

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Reply to all the recipients from your mail client; the link fills in
  the headers below: reply via email
  Some clients, webmail especially, drop In-Reply-To and References from
  a link, and the reply then starts a new thread: use the mbox below.

  To: pgsql-bugs@postgresql.org
  Cc: tgl@sss.pgh.pa.us, jnelson+pgsql@jamponi.net
  Subject: Re: unexpected "ERROR: concurrent delete in progress"
  In-Reply-To: <27631.1291753163@sss.pgh.pa.us>
  References: <AANLkTimd_Zx0wbs9KazRbO11jD301=9p=KpUXqij9oGr@mail.gmail.com> <27631.1291753163@sss.pgh.pa.us>

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox