Re: ERROR: invalid memory alloc request size 0

From: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
To: "John Hagstrand" <john(dot)hagstrand(at)interageresearch(dot)com>
Cc: pgsql-general(at)postgresql(dot)org
Subject: Re: ERROR: invalid memory alloc request size 0
Date: 2004-04-08 01:29:06
Message-ID: 6731.1081387746@sss.pgh.pa.us
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general

"John Hagstrand" <john(dot)hagstrand(at)interageresearch(dot)com> writes:
> I'm getting the following error when I try to update or insert into a table.
> This just started happening today. The table has been working fine up to
> now. The table has 27,000 rows and 24 columns.

> ERROR: invalid memory alloc request size 0

What PG version is this, and what exactly is the table schema (and how
did you change it recently)? And let's see an exact example of a
failing query. It'd be even nicer if you could get a stack trace from
the errfinish call.

The only recent bugs of this ilk that I can recall had to do with
operations on zero-column tables. Probably you've found some new
corner case, but there's not enough info here to guess what.

regards, tom lane

In response to

Browse pgsql-general by date

  From Date Subject
Next Message Tom Lane 2004-04-08 01:38:13 Re: How to list domains
Previous Message Eric Ridge 2004-04-08 00:38:34 Re: Cursors and Transactions, why?