Re: Fix overflow of bgwriter's request queue

Поиск
Список
Период
Сортировка
От Tom Lane
Тема Re: Fix overflow of bgwriter's request queue
Дата
Msg-id 14418.1137190814@sss.pgh.pa.us
обсуждение исходный текст
Ответ на Re: Fix overflow of bgwriter's request queue  ("Qingqing Zhou" <zhouqq@cs.toronto.edu>)
Список pgsql-patches
"Qingqing Zhou" <zhouqq@cs.toronto.edu> writes:
> Maybe the take a copied list is safer. I got a little afraid of doing
> seqscan hash while doing HASH_ENTER at the same time. Do we have this kind
> of hash usage somewhere?

Sure, it's perfectly safe.  It's unspecified whether the scan will visit
such entries or not (because it might or might not already have passed
their hash bucket), but per above discussion we don't really care.

            regards, tom lane

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

Предыдущее
От: "Qingqing Zhou"
Дата:
Сообщение: Re: Fix overflow of bgwriter's request queue
Следующее
От: David Wheeler
Дата:
Сообщение: Re: domain constraints and UNKNOWN params