Re: ERROR: invalid memory alloc request size - Mailing list pgsql-hackers

From Tom Lane
Subject Re: ERROR: invalid memory alloc request size
Date
Msg-id 2750.1130517655@sss.pgh.pa.us
Whole thread Raw
In response to Re: ERROR: invalid memory alloc request size  (Greg Stark <gsstark@mit.edu>)
List pgsql-hackers
Greg Stark <gsstark@mit.edu> writes:
> 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.

Well, the whole idea didn't work anyway :-(.  But I think your proposal
is equivalent to holding the lock throughout CreateMultiXactId, which is
exactly what we're trying to avoid doing ...
        regards, tom lane


pgsql-hackers by date:

Previous
From: Greg Stark
Date:
Subject: Re: ERROR: invalid memory alloc request size
Next
From: Martijn van Oosterhout
Date:
Subject: Re: [PATCHES] TODO Item - Add system view to show free space map