pg.ddx.io  pgsql-bugs@postgresql.org mailing list archive  
help / color / mirror / Atom feed
unexpected "ERROR: concurrent delete in progress"
2+ messages / 2 participants
[nested] [flat]

* unexpected "ERROR: concurrent delete in progress"
@ 2010-12-07 19:51  Jon Nelson <jnelson+pgsql@jamponi.net>
  0 siblings, 1 reply; 2+ messages in thread

From: Jon Nelson @ 2010-12-07 19:51 UTC (permalink / raw)
  To: pgsql-bugs

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.


-- 
Jon



^ permalink  raw  reply  [nested|flat] 2+ messages in thread

* Re: unexpected "ERROR: concurrent delete in progress"
@ 2010-12-07 20:19  Tom Lane <tgl@sss.pgh.pa.us>
  parent: Jon Nelson <jnelson+pgsql@jamponi.net>
  0 siblings, 0 replies; 2+ messages in thread

From: Tom Lane @ 2010-12-07 20:19 UTC (permalink / raw)
  To: Jon Nelson <jnelson+pgsql@jamponi.net>; +Cc: pgsql-bugs

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



^ permalink  raw  reply  [nested|flat] 2+ messages in thread


end of thread, other threads:[~2010-12-07 20:19 UTC | newest]

Thread overview: 2+ messages (download: mbox mbox.gz follow: Atom feed)
-- links below jump to the message on this page --
2010-12-07 19:51 unexpected "ERROR: concurrent delete in progress" Jon Nelson <jnelson+pgsql@jamponi.net>
2010-12-07 20:19 ` Tom Lane <tgl@sss.pgh.pa.us>

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