Re: Doubts about EvalPlanQual - Mailing list pgsql-hackers

From Jacky Leng
Subject Re: Doubts about EvalPlanQual
Date
Msg-id gnjcl7$14od$1@news.hub.org
Whole thread Raw
In response to Doubts about EvalPlanQual  ("Jacky Leng" <lengjianquan@163.com>)
Responses Re: Doubts about EvalPlanQual  (Heikki Linnakangas <heikki.linnakangas@enterprisedb.com>)
List pgsql-hackers
> Tuples with an aborted xmin can be vacuumed right away. When we're
> following the update chain in EvalPlanQual, it's possible that the updater 
> has aborted, the updated dead tuple is vacuumed away, and the slot is 
> reused for another unrelated tuple.

But if the updater aborted, how can EvalPlanQual be called?
In this situation (updater aborted), EvalPlanQual's caller (such as 
ExecUpdate and ExecDelete)
should get "HeapTupleMayBeUpdated", rather than "HeapTupleUpdated".

Am I right?





pgsql-hackers by date:

Previous
From: Heikki Linnakangas
Date:
Subject: Re: Doubts about EvalPlanQual
Next
From: Max
Date:
Subject: PostgreSQL Translation - PL/pgSQL current