Re: BUG #3520: insert causing error "invalid memory alloc request size 2147483648"

From: Gregory Stark <stark(at)enterprisedb(dot)com>
To: "Brodie Thiesfield" <brofield2(at)jellycan(dot)com>
Cc: <pgsql-bugs(at)postgresql(dot)org>
Subject: Re: BUG #3520: insert causing error "invalid memory alloc request size 2147483648"
Date: 2007-08-07 10:35:46
Message-ID: 87ps1ziqd9.fsf@oxford.xeocode.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-bugs

"Brodie Thiesfield" <brofield2(at)jellycan(dot)com> writes:

> (at time of final INSERT)
> ERROR: XX000: invalid memory alloc request size 2147483648
> LOCATION: MemoryContextAlloc, mcxt.c:504

Some questions: what encoding was the database created in? And what locale is
your server running in?

The commands which would be useful to answer the above are:

postgres=# \l
List of databases
Name | Owner | Encoding
-----------+-------+-----------
postgres | stark | SQL_ASCII
template0 | stark | SQL_ASCII
template1 | stark | SQL_ASCII
(3 rows)

postgres=# show all;
name | setting | description
---------------------------------+--------------------------------+-------------------------------------------------------------------------------------------------------------------------------
add_missing_from | off | Automatically adds missing table references to FROM clauses.
...

--
Gregory Stark
EnterpriseDB http://www.enterprisedb.com

In response to

Browse pgsql-bugs by date

  From Date Subject
Next Message Magnus Hagander 2007-08-07 10:49:31 Re: BUG #3520: insert causing error "invalid memory alloc request size 2147483648"
Previous Message Zdenek Kotala 2007-08-07 09:51:44 Re: Having trouble building 64-bit pgsql 7.4.17 on HPUX ia64