Scott Marlowe <scott.marl...@gmail.com> writes: > On Fri, Feb 24, 2012 at 10:09 AM, Tom Lane <t...@sss.pgh.pa.us> wrote: >> Naoko Reeves <naokoree...@gmail.com> writes: >>> [ inconsistent behavior with a corrupted table ]
>> I think most likely some of these queries are using a corrupted index >> and some are not --- have you looked at the EXPLAIN for each one? >> It might be a good idea to turn off enable_indexscan and >> enable_bitmapscan while poking at the table. > Could it also be a corrupted toast table? The toast table might well be corrupted, but that wouldn't explain the variation in behavior when fetching the "same" row. I'm inclined to think that Naoko has got more than one apparently-live row with the same id value, as a result of corruption of xmin/xmax values or commit hint bits. Not sure how to explain all the symptoms though. regards, tom lane -- Sent via pgsql-general mailing list (pgsql-general@postgresql.org) To make changes to your subscription: http://www.postgresql.org/mailpref/pgsql-general