Re: max( bool )? - Mailing list pgsql-sql

From Tom Lane
Subject Re: max( bool )?
Date
Msg-id 12679.986421777@sss.pgh.pa.us
Whole thread Raw
In response to Re: max( bool )?  (Cedar Cox <cedarc@visionforisrael.com>)
List pgsql-sql
Cedar Cox <cedarc@visionforisrael.com> writes:
> And I get this notice:
>> 
> NOTICE:  PortalHeapMemoryFree: 0x0x824a6e8 not in alloc set!
> NOTICE:  Buffer Leak: [059] (freeNext=54, freePrev=58, relname=tblstsc1,
> blockNum=0, flags=0x14, refcount=-4 -1)
>> 
> Ver 7.0.2 (sorry, I meant to include this... I think)

Okay, this is a known bug; it's fixed in 7.0.3.  I'd advise staying away
from that sort of construct (sub-select in the output list of a SELECT
DISTINCT) until you update --- in some cases the consequences might be
worse than just an annoying NOTICE :-(.
        regards, tom lane


pgsql-sql by date:

Previous
From: Phuong Ma
Date:
Subject: performance inconsistency
Next
From: Tom Lane
Date:
Subject: Re: UNION in a VIEW?