Re: delete and select with IN clause issues - Mailing list pgsql-sql

From Tom Lane
Subject Re: delete and select with IN clause issues
Date
Msg-id 3889.1162574796@sss.pgh.pa.us
Whole thread Raw
In response to Re: delete and select with IN clause issues  (Jeff Frost <jeff@frostconsultingllc.com>)
Responses Re: delete and select with IN clause issues
Re: delete and select with IN clause issues
List pgsql-sql
Jeff Frost <jeff@frostconsultingllc.com> writes:
> Well, I spoke to soon on the it all works front.  So, it's been
> reindexed and appears to be working properly now.  I guess I'll keep
> an eye on it for a while.  I didn't get your query suggestion in time,
> so hopefully I grabbed the right binary file..though it did seem to
> disappear after the reindex, so I think it's likely the correct one.
> Definitely got the correct second one.

Well, I can't find anything wrong :-(.  There are some differences in
the list of contained keys, but they're all up near the end of the
range, which is consistent with the assumption that the table is live
and had some changes between your two dumps of the index.  In
particular, there's no difference in the entries for the troublesome
key value:

38635629                24080   25
38635629                24080   26
38635629                24080   27

So I dunno what to make of it.  If it happens again, we need to look
more closely.
        regards, tom lane


pgsql-sql by date:

Previous
From: Jeff Frost
Date:
Subject: Re: delete and select with IN clause issues
Next
From: "Aaron Bono"
Date:
Subject: Re: Determining correct table order for insert or drop statements to satisfy foreign keys