Re: BUG #9741: Mininal case for the BUG #9735: Error: "ERROR: tuple offset out of range: 0" during bitmap scan

Поиск
Список
Период
Сортировка
От Maxim Boguk
Тема Re: BUG #9741: Mininal case for the BUG #9735: Error: "ERROR: tuple offset out of range: 0" during bitmap scan
Дата
Msg-id CAK-MWwRsyBYEr8RLHjn4fGsYD-gF++w9oCKnRTGke6_YT+8iQw@mail.gmail.com
обсуждение исходный текст
Ответ на Re: BUG #9741: Mininal case for the BUG #9735: Error: "ERROR: tuple offset out of range: 0" during bitmap scan  (Tom Lane <tgl@sss.pgh.pa.us>)
Ответы Re: BUG #9741: Mininal case for the BUG #9735: Error: "ERROR: tuple offset out of range: 0" during bitmap scan  (Maxim Boguk <maxim.boguk@gmail.com>)
Список pgsql-bugs
On Thu, Mar 27, 2014 at 10:41 PM, Tom Lane <tgl@sss.pgh.pa.us> wrote:

> Maxim Boguk <maxim.boguk@gmail.com> writes:
> > select * from bt_page_items('transactions_pkey', 88472) where itemoffset
> in
> > (93,94);
> >  itemoffset |    ctid     | itemlen | nulls | vars |          data
> >
> ------------+-------------+---------+-------+------+-------------------------
> >          93 | (2413168,1) |      16 | f     | f    | 7c c2 2c 03 00 00
> 00 00
> >          94 | (2337931,0) |      16 | f     | f    | 7c c2 2c 03 00 00
> 00 00
>
> This is sort of what I expected.  Surely reindexing the index will get
> rid of that bogus entry?
>
>                         regards, tom lane
>

Yep reindexing that particular index fixed problem.
But this index had been reindexed just 2 days ago in the same situation,
and now problem reappear (with different table row/index entries).

If problem reappear after the last reindex and with 9.3.4 version I will
investigate future.


It would be interesting know how simple integer btree index could have
entry with definitely wrong ctid?
It very strange for problem reappear with the only one table (there are
couple other tables in the database with similar load but with no issues at
all), it looks too selective and repeatable for a hardware glitch.

Kind Regards,
Maksym

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

Предыдущее
От: Tom Lane
Дата:
Сообщение: Re: BUG #9741: Mininal case for the BUG #9735: Error: "ERROR: tuple offset out of range: 0" during bitmap scan
Следующее
От: kwalbrecht@cghtech.com
Дата:
Сообщение: BUG #9743: subquery on view is not pulling up.