Re: HOT is applied
От | Tom Lane |
---|---|
Тема | Re: HOT is applied |
Дата | |
Msg-id | 15120.1190401222@sss.pgh.pa.us обсуждение исходный текст |
Ответ на | Re: HOT is applied ("Heikki Linnakangas" <heikki@enterprisedb.com>) |
Список | pgsql-hackers |
"Heikki Linnakangas" <heikki@enterprisedb.com> writes: > I noted that most callers of TransactionIdIsInProgress in tqual.c > already call TransactionIdIsCurrentTransactionId before > TransactionIdIsInProgress. In those cases we could just skip the test > for our own xids altogether, if it's worth code mangling to tell > TransactionIdIsInProgress whether it's safe to skip it or not. At least in this example, it seems it wouldn't buy anything. HeapTupleSatisfiesVacuum doesn't call TransactionIdIsCurrentTransactionId, and while HeapTupleSatisfiesMVCC does, it falls out at that point and doesn't get to TransactionIdIsInProgress. So I'm not inclined to contort the API unless we can come up with an example where it's important. I'm off to work on the page-header-xid idea ... regards, tom lane
В списке pgsql-hackers по дате отправления: