Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)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.
In response to
pgsql-hackers by date
|Next:||From: Tom Lane||Date: 2005-10-28 16:40:55|
|Subject: Re: ERROR: invalid memory alloc request size <a_big_number_here> |
|Previous:||From: Matteo Beccati||Date: 2005-10-28 16:25:59|
|Subject: Re: ERROR: invalid memory alloc request size <a_big_number_here>|