Skip site navigation (1) Skip section navigation (2)

Peripheral Links

Header And Logo

PostgreSQL
| The world's most advanced open source database.

Site Navigation

Search for
  Advanced Search

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: 27 Oct 2005 16:10:57 -0400
  • Message-id: <878xwe3elq(dot)fsf(at)stark(dot)xeocode(dot)com>

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




Home | Main Index | Thread Index

Privacy Policy | PostgreSQL Archives hosted by Command Prompt, Inc. | Designed by tinysofa
Copyright © 1996 – 2008 PostgreSQL Global Development Group