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

From: Greg Stark <gsstark(at)mit(dot)edu>
To: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
Cc: Alvaro Herrera <alvherre(at)alvh(dot)no-ip(dot)org>, Matteo Beccati <php(at)beccati(dot)com>, 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-27 20:10:57
Message-ID: 878xwe3elq.fsf@stark.xeocode.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers


Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us> writes:

> We'd have to make sure zero is never the *correct* value of the offset,
> but that just means wasting one word, which seems no problem.

In theory it's possible for only half the word to be written or even to have
outright garbage show up. In practice I think there are no actual
architectures where this can really happen though.

--
greg

In response to

Responses

Browse pgsql-hackers by date

  From Date Subject
Next Message Tom Lane 2005-10-27 20:15:23 Re: ERROR: invalid memory alloc request size <a_big_number_here>
Previous Message Tom Lane 2005-10-27 20:09:20 Re: [GENERAL] aix build question re: duplicate symbol warning