Re: SSI modularity questions

Поиск
Список
Период
Сортировка
От Heikki Linnakangas
Тема Re: SSI modularity questions
Дата
Msg-id 4E0B7A68.5030102@enterprisedb.com
обсуждение исходный текст
Ответ на Re: SSI modularity questions  ("Kevin Grittner" <Kevin.Grittner@wicourts.gov>)
Ответы Re: SSI modularity questions  ("Kevin Grittner" <Kevin.Grittner@wicourts.gov>)
Список pgsql-hackers
On 29.06.2011 00:33, Kevin Grittner wrote:
> Heikki Linnakangas  wrote:
>> On 28.06.2011 20:47, Kevin Grittner wrote:
>
>> Hmm, the calls in question are the ones in heapgettup() and
>> heapgettup_pagemode(), which are subroutines of heap_getnext().
>> heap_getnext() is only used in sequential scans, so it seems safe
>> to remove those calls.
>
> I haven't found anything to the contrary, if I understand correctly,
> Dan found the same, and all the tests pass without them.  Here's a
> patch to remove them.  This makes the recently-added
> rs_relpredicatelocked boolean field unnecessary, so that's removed in
> this patch, too.

Thanks, committed. I also moved the PredicateLockRelation() call to 
heap_beginscan(), per earlier discussion.

--   Heikki Linnakangas  EnterpriseDB   http://www.enterprisedb.com


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

Предыдущее
От: Merlin Moncure
Дата:
Сообщение: Re: hint bit cache v6
Следующее
От: Heikki Linnakangas
Дата:
Сообщение: Re: Repeated PredicateLockRelation calls during seqscan