pg.ddx.io  pgsql-bugs@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Tom Lane <tgl@sss.pgh.pa.us>
To: Anton Kuznetsov <antosha86@mail.ru>
Cc: pgsql-bugs@postgresql.org
Subject: Re: BUG #5977: Crash on delete
Date: Wed, 13 Apr 2011 10:42:36 -0400
Message-ID: <4602.1302705756@sss.pgh.pa.us> (raw)
In-Reply-To: <201104130924.p3D9OYVx074761@wwwmaster.postgresql.org>
References: <201104130924.p3D9OYVx074761@wwwmaster.postgresql.org>

"Anton Kuznetsov" <antosha86@mail.ru> writes:
> Server crases on delete and than automatically restarts;
> Log message was:

> TRAP: FailesAssertion("!(outerstartsel <= outerendsel)",  File:
> "costsize.c", String: 1540)

That's pretty interesting ... can you put together a self-contained test
case?  That might be a bit difficult because this is probably dependent
on data statistics.  But it should at least be possible to determine
which join clause is causing the problem, and then show us the pg_stats
entries for the columns used in the join.  This isn't going to be
dependent on whether the command is a DELETE or not, just the table join
conditions.

			regards, tom lane



view thread (2+ messages)

Message-ID: <4602.1302705756@sss.pgh.pa.us>
Permalink:  ../4602.1302705756@sss.pgh.pa.us/
Also on:    postgresql.org/message-id/4602.1302705756@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, antosha86@mail.ru
  Subject: Re: BUG #5977: Crash on delete
  In-Reply-To: <4602.1302705756@sss.pgh.pa.us>
  References: <201104130924.p3D9OYVx074761@wwwmaster.postgresql.org> <4602.1302705756@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