Re: max( bool )?

From: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
To: Cedar Cox <cedarc(at)visionforisrael(dot)com>
Cc: pgsql-sql(at)postgresql(dot)org
Subject: Re: max( bool )?
Date: 2001-04-04 15:16:31
Message-ID: 7036.986397391@sss.pgh.pa.us
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-sql

Cedar Cox <cedarc(at)visionforisrael(dot)com> writes:
> Now for the problem.. In attempting to get what I want, I wrote this:

> select not exists (select distinct max((select sc1caption from tblstsc1
> where (tblstsc1options.surid like surid || '.%' or
> surid=tblstsc1options.surid) and surid!=tblstsc1options.surid and
> sc1caption is not null)) from tblstsc1options where '164' like surid ||
> '.%' or surid like '164' || '.%');

> 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)

(a) What Postgres version is this?

(b) Could we see the schemas for the tables? (pg_dump -s output is the
best way)

regards, tom lane

In response to

Responses

Browse pgsql-sql by date

  From Date Subject
Next Message Kyle 2001-04-04 15:24:41 Query broken under 7.1RC2
Previous Message Picard, Cyril 2001-04-04 15:01:41 RE: outer joins