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 19816.1130430428@sss.pgh.pa.us
Whole thread Raw
In response to Re: ERROR: invalid memory alloc request size  (Alvaro Herrera <alvherre@alvh.no-ip.org>)
Responses Re: ERROR: invalid memory alloc request size
List pgsql-hackers
Alvaro Herrera <alvherre@alvh.no-ip.org> writes:
> The remaining question for me is, how do we sleep until the correct
> offset has been stored?

I was thinking of just pg_usleep for some nominal time (1ms maybe)
and try to read the offsets page again.  This is a corner case so
the performance doesn't have to be great.
        regards, tom lane


pgsql-hackers by date:

Previous
From: Alvaro Herrera
Date:
Subject: Re: ERROR: invalid memory alloc request size
Next
From: "Jim C. Nasby"
Date:
Subject: Problems with gdb