Re: BUG #2166: attempted to update invisible tuple

Поиск
Список
Период
Сортировка
От Tom Lane
Тема Re: BUG #2166: attempted to update invisible tuple
Дата
Msg-id 5890.1137086094@sss.pgh.pa.us
обсуждение исходный текст
Ответ на Re: BUG #2166: attempted to update invisible tuple  (Euler Taveira de Oliveira <eulerto@yahoo.com.br>)
Ответы Re: BUG #2166: attempted to update invisible tuple  (Jaime Casanova <systemguards@gmail.com>)
Re: BUG #2166: attempted to update invisible tuple  (Tom Lane <tgl@sss.pgh.pa.us>)
Список pgsql-bugs
Euler Taveira de Oliveira <eulerto@yahoo.com.br> writes:
> Sorry for that. I didn't have the data yet. Some data to test it is in:
> http://www.timbira.com/tst2.sql.gz

Thanks.

> In 8.0 and previous I didn't reproduce it.

Which versions did you try exactly?  I've reproduced it in 8.0.6 and HEAD.

> Is it something related to UPDATE ... FROM patch that I submitted?

No, it looks to me like it's a problem with this patch:

2005-08-19 20:39  tgl

    * src/: backend/access/heap/heapam.c, backend/commands/async.c,
    backend/commands/trigger.c, backend/commands/vacuum.c,
    backend/executor/execMain.c, backend/utils/time/tqual.c,
    include/access/heapam.h, include/access/htup.h,
    include/executor/executor.h, include/utils/tqual.h: Repair problems
    with VACUUM destroying t_ctid chains too soon, and with
    insufficient paranoia in code that follows t_ctid links.

I think EvalPlanQual is deciding that updated tuples are valid in
some cases where it shouldn't.  Unfortunately, if that's correct it
means that all the branches are broken since last August :-(

            regards, tom lane

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

Предыдущее
От: Peter Eisentraut
Дата:
Сообщение: Re: BUG #2162: Same as bug #1679 - finite() - unresolved symbol
Следующее
От: Jaime Casanova
Дата:
Сообщение: Re: BUG #2166: attempted to update invisible tuple