Re: ERROR: invalid memory alloc request size <a_big_number_here>

From: Alvaro Herrera <alvherre(at)alvh(dot)no-ip(dot)org>
To: Matteo Beccati <php(at)beccati(dot)com>
Cc: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>, Martijn van Oosterhout <kleptog(at)svana(dot)org>, pgsql-hackers(at)postgresql(dot)org
Subject: Re: ERROR: invalid memory alloc request size <a_big_number_here>
Date: 2005-10-28 14:49:13
Message-ID: 20051028144913.GC26594@surnet.cl
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

Matteo Beccati wrote:
> Hi,
>
> >Should I try Alvaro's second patch that you said not going to work?
>
> I'll add that this works for me, that's it prevents invalid alloc
> requests to show.

Yeah, the problem with that patch is that there's another, different
race condition, of much lower probability. So your original problem is
fixed, but there's still a bug.

--
Alvaro Herrera Developer, http://www.PostgreSQL.org
"Just treat us the way you want to be treated + some extra allowance
for ignorance." (Michael Brusser)

In response to

Browse pgsql-hackers by date

  From Date Subject
Next Message Tom Lane 2005-10-28 15:17:58 Re: ERROR: invalid memory alloc request size <a_big_number_here>
Previous Message Alvaro Herrera 2005-10-28 14:47:55 Re: ERROR: invalid memory alloc request size <a_big_number_here>