Re: BUG #1242: Major bug in pgSQL

Поиск
Список
Период
Сортировка
От Tom Lane
Тема Re: BUG #1242: Major bug in pgSQL
Дата
Msg-id 29873.1094565901@sss.pgh.pa.us
обсуждение исходный текст
Ответ на Re: BUG #1242: Major bug in pgSQL  (Gaetano Mendola <mendola@bigfoot.com>)
Ответы Re: BUG #1242: Major bug in pgSQL  ("Nobody" <freecontact@freenet.de>)
Список pgsql-bugs
Gaetano Mendola <mendola@bigfoot.com> writes:
> When you are experiencing this show us the result of this query:
> select cmax, cmin, xmax, xmin, * from <table> where <your condition>;

Also, please, the ctid and oid columns (but leave out oid if you made
the table WITHOUT OIDS).

Also, if the condition is one that will normally use an index, try
the same query with and without "set enable_indexscan = off".  It
could be that a corrupted index would cause the query to visit the
same rows multiple times (or miss rows!).

It might be a good idea to REINDEX the primary-key index on the table,
but I would counsel not doing so until we have more data on what's
happening.  If the problem is index corruption then REINDEX would
destroy all the evidence ...

            regards, tom lane

В списке pgsql-bugs по дате отправления:

Предыдущее
От: Gaetano Mendola
Дата:
Сообщение: Re: BUG #1242: Major bug in pgSQL
Следующее
От: Tom Lane
Дата:
Сообщение: Re: [PATCHES] [pgsql-hackers-win32] Win32 deadlock detection not working for Postgres8beta1