X-Original-To: pgsql-general-postgresql.org@localhost.postgresql.org Received: from localhost (unknown [200.46.204.2]) by svr1.postgresql.org (Postfix) with ESMTP id 667C7D1D08B for ; Wed, 7 Apr 2004 22:29:09 -0300 (ADT) Received: from svr1.postgresql.org ([200.46.204.71]) by localhost (neptune.hub.org [200.46.204.2]) (amavisd-new, port 10024) with ESMTP id 99305-04 for ; Wed, 7 Apr 2004 22:29:11 -0300 (ADT) Received: from sss.pgh.pa.us (sss.pgh.pa.us [66.207.139.130]) by svr1.postgresql.org (Postfix) with ESMTP id 0E58BD1D089 for ; Wed, 7 Apr 2004 22:29:07 -0300 (ADT) Received: from sss2.sss.pgh.pa.us (tgl@localhost [127.0.0.1]) by sss.pgh.pa.us (8.12.11/8.12.11) with ESMTP id i381T7CE006732; Wed, 7 Apr 2004 21:29:09 -0400 (EDT) To: "John Hagstrand" Cc: pgsql-general@postgresql.org Subject: Re: ERROR: invalid memory alloc request size 0 In-reply-to: References: Comments: In-reply-to "John Hagstrand" message dated "Wed, 07 Apr 2004 16:43:44 -0500" Date: Wed, 07 Apr 2004 21:29:06 -0400 Message-ID: <6731.1081387746@sss.pgh.pa.us> From: Tom Lane X-Virus-Scanned: by amavisd-new at postgresql.org X-Archive-Number: 200404/292 X-Sequence-Number: 59534 "John Hagstrand" 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