Re: ERROR: invalid memory alloc request size 0 - Mailing list pgsql-general

From Tom Lane
Subject Re: ERROR: invalid memory alloc request size 0
Date
Msg-id 6731.1081387746@sss.pgh.pa.us
Whole thread Raw
In response to ERROR: invalid memory alloc request size 0  ("John Hagstrand" <john.hagstrand@interageresearch.com>)
List pgsql-general
"John Hagstrand" <john.hagstrand@interageresearch.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

pgsql-general by date:

Previous
From: Eric Ridge
Date:
Subject: Re: Cursors and Transactions, why?
Next
From: Tom Lane
Date:
Subject: Re: How to list domains