Re: delete and select with IN clause issues

From: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
To: Jeff Frost <jeff(at)frostconsultingllc(dot)com>
Cc: pgsql-sql(at)postgresql(dot)org
Subject: Re: delete and select with IN clause issues
Date: 2006-11-03 06:23:28
Message-ID: 26796.1162535008@sss.pgh.pa.us
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-sql

Jeff Frost <jeff(at)frostconsultingllc(dot)com> writes:
> On Thu, 2 Nov 2006, Tom Lane wrote:
>> This seems pretty darn weird. I am wondering about corrupt indexes ---
>> can you find the indicated key in either table if you set
>> enable_indexscan and enable_bitmapscan to 0?

> test_tracking=# begin;
> BEGIN
> test_tracking=# set enable_seqscan TO false;
> SET
> test_tracking=# set enable_bitmapscan to false;
> SET

That's not actually the test case I asked for ...

> Nope, I guess I didn't \d visit..thought I did...it's below. I'm going to
> guess that there is index corruption and a reindex page_view will fix it. Do
> you want me to gather any information in case this is a reproducible bug
> before I issue the reindex?

I'm thinking the same --- please save a physical copy of
page_view_visit_idx before you reindex it, and if that fixes the
problem, please send me copies of both the before and after states
of the index.

regards, tom lane

In response to

Responses

Browse pgsql-sql by date

  From Date Subject
Next Message Tom Lane 2006-11-03 06:36:14 Re: The empty list?
Previous Message Richard Broersma Jr 2006-11-03 06:03:37 Re: Add calculated fields from one table to other table