Re: Fw: PortalHeapMemoryFree error in OpenACS - Mailing list pgsql-bugs

From Tom Lane
Subject Re: Fw: PortalHeapMemoryFree error in OpenACS
Date
Msg-id 29880.966716076@sss.pgh.pa.us
Whole thread Raw
In response to Fw: PortalHeapMemoryFree error in OpenACS  ("Brian Mueller" <brian@twotomatoes.com>)
List pgsql-bugs
"Brian Mueller" <brian@twotomatoes.com> writes:
> When doing a large query from either an OpenACS 3.2.2 web page (/intranet/e=
> mployees/admin/index.tcl) or from psql, I get the following error:
> NOTICE:  PortalHeapMemoryFree: 0x0x41a37610 not in alloc set!
> NOTICE:  PortalHeapMemoryFree: 0x0x41a37cc8 not in alloc set!
> NOTICE:  PortalHeapMemoryFree: 0x0x41a37ca0 not in alloc set!
> ERROR:  btree scan list trashed; can't find 0x0x41a37bf0

Brian, it looks like this problem has already been fixed in current CVS
sources --- it's a foulup in subplan handling for APPEND plans, which
basically means that you need sub-SELECTS in a UNION to cause it.

Easiest patch for 7.0.* is to grab src/backend/optimizer/plan/setrefs.c
out of the CVS server or a recent nightly snapshot tarball and drop it
into 7.0.* sources as-is.

            regards, tom lane

pgsql-bugs by date:

Previous
From: Patrick Spinler
Date:
Subject: Alternate data locations ?
Next
From: Tom Lane
Date:
Subject: Re: Alternate data locations ?