| От | Tom Lane |
|---|---|
| Тема | Re: Another bug introduced by fastpath patch |
| Дата | |
| Msg-id | 28455.1385653568@sss.pgh.pa.us обсуждение |
| Ответ на | Re: Another bug introduced by fastpath patch (Andres Freund <andres@2ndquadrant.com>) |
| Список | pgsql-hackers |
Andres Freund <andres@2ndquadrant.com> writes:
> On 2013-11-28 10:31:21 -0500, Tom Lane wrote:
>> The only remaining risk is that, if pointer
>> fetch/store isn't atomic, we might fetch a half-updated pointer; which
>> will be non-null, but not something we can use to reach the list. Since
>> we do purport to support such architectures, we'd better apply the patch.
> We do support such architectures? Don't we already assume we can store
> xids atomically (c.f. GetOldestActiveTransactionId())? Do we support a
> 64bit arch, that has a atomic 4byte store, but not atomic 8byte stores?
Dunno whether there are any in practice, but it's not an assumption
we make anywhere.
regards, tom lane
В списке pgsql-hackers по дате отправления:
Сайт использует файлы cookie для корректной работы и повышения удобства. Нажимая кнопку «Принять» или продолжая пользоваться сайтом, вы соглашаетесь на их использование в соответствии с Политикой в отношении обработки cookie ООО «ППГ», в том числе на передачу данных из файлов cookie сторонним статистическим и рекламным службам. Вы можете управлять настройками cookie через параметры вашего браузера