| От | Tom Lane |
|---|---|
| Тема | Re: [HACKERS] Atomics for heap_parallelscan_nextpage() |
| Дата | |
| Msg-id | 31086.1502922664@sss.pgh.pa.us обсуждение исходный текст |
| Ответ на | Re: [HACKERS] Atomics for heap_parallelscan_nextpage() (Andres Freund <andres@anarazel.de>) |
| Список | pgsql-hackers |
Andres Freund <andres@anarazel.de> writes:
> On August 16, 2017 3:09:27 PM PDT, Tom Lane <tgl@sss.pgh.pa.us> wrote:
>> I wonder whether it's sensible to have --enable-cassert have the effect
>> of filling memory allocated by ShmemAlloc or the DSA code with junk (as
>> palloc does) instead of leaving it at zeroes. It's not modeling the
>> same kind of effect, since we have no shmem-freeing primitives, but
>> it might be useful for this sort of thing.
> We kind of do - crash restarts... So yes, that's probably a good idea.
Crash restart releases the shmem segment and acquires a new one,
doesn't it? Or am I misremembering? I thought that it did do so,
if only to make darn sure that no old processes remain connected
to shmem.
regards, tom lane
В списке pgsql-hackers по дате отправления:
Сайт использует файлы cookie для корректной работы и повышения удобства. Нажимая кнопку «Принять» или продолжая пользоваться сайтом, вы соглашаетесь на их использование в соответствии с Политикой в отношении обработки cookie ООО «ППГ», в том числе на передачу данных из файлов cookie сторонним статистическим и рекламным службам. Вы можете управлять настройками cookie через параметры вашего браузера