Re: ERROR: invalid memory alloc request size

Поиск
Список
Период
Сортировка
От Greg Stark
Тема Re: ERROR: invalid memory alloc request size
Дата
Msg-id 87irvh1tun.fsf@stark.xeocode.com
обсуждение исходный текст
Ответ на Re: ERROR: invalid memory alloc request size  (Tom Lane <tgl@sss.pgh.pa.us>)
Ответы Re: ERROR: invalid memory alloc request size  (Tom Lane <tgl@sss.pgh.pa.us>)
Список pgsql-hackers
Tom Lane <tgl@sss.pgh.pa.us> writes:

> creatingOffsetZero will be a bool that gets set before releasing
> MultiXactGenLock if offset 0 is being returned, and then we clear it
> after updating the slru data structures if we had starting offset 0.

If you're going to have a special flag indicating this couldn't you just have
a special flag indicating that the offset isn't ready yet? Loop until that
flag is cleared instead of looking for offset != 0 at all.

-- 
greg



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

Предыдущее
От: Matteo Beccati
Дата:
Сообщение: Re: ERROR: invalid memory alloc request size
Следующее
От: Tom Lane
Дата:
Сообщение: Re: ERROR: invalid memory alloc request size