Re: [HACKERS] shm_toc_lookup API

Поиск
Список
Период
Сортировка
От Tom Lane
Тема Re: [HACKERS] shm_toc_lookup API
Дата
Msg-id 28711.1496689566@sss.pgh.pa.us
обсуждение исходный текст
Ответ на Re: [HACKERS] shm_toc_lookup API  (Andres Freund <andres@anarazel.de>)
Ответы Re: [HACKERS] shm_toc_lookup API  (Andres Freund <andres@anarazel.de>)
Список pgsql-hackers
Andres Freund <andres@anarazel.de> writes:
> On 2017-06-05 14:57:10 -0400, Tom Lane wrote:
>> Meh.  Without volatile, I think that the compiler would be within its
>> rights to elide the nentry local variable and re-fetch toc->toc_nentry
>> each time through the loop.

> I don't think that's true.

Perhaps not, but I'm not quite convinced.  Anyway it doesn't matter,
at least not here.
        regards, tom lane



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

Предыдущее
От: Andres Freund
Дата:
Сообщение: Re: [HACKERS] shm_toc_lookup API
Следующее
От: Andrew Dunstan
Дата:
Сообщение: Re: [HACKERS] PROVE_FLAGS