Re: Reusing Dead Tuples:

Поиск
Список
Период
Сортировка
От Tom Lane
Тема Re: Reusing Dead Tuples:
Дата
Msg-id 9369.1039585881@sss.pgh.pa.us
обсуждение исходный текст
Ответ на Re: Reusing Dead Tuples:  (Janardhan <jana-reddy@mediaring.com.sg>)
Список pgsql-hackers
Janardhan <jana-reddy@mediaring.com.sg> writes:
> if i am not wrong while  updating a tuple, we are also creating a  new 
> index entry .

Yes.

> so  if the
> tuple is dead then the index entry pointing it also a dead index tuple. 

Yes.

> so even if dead index tuple is not
> removed then also it should not break thing, since the dead index tuple 
> will not be used, am i correct?.

No.  A process running an indexscan will assume that the index tuple
accurately describes the heap tuple it is pointing at.  If the heap
tuple is live then it will be returned as satisfying the indexscan.
        regards, tom lane


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

Предыдущее
От: Janardhan
Дата:
Сообщение: Re: Reusing Dead Tuples:
Следующее
От: "Al Sutton"
Дата:
Сообщение: Re: [mail] Re: 7.4 Wishlist