Re: max( bool )?

Поиск
Список
Период
Сортировка
От Tom Lane
Тема Re: max( bool )?
Дата
Msg-id 7036.986397391@sss.pgh.pa.us
обсуждение исходный текст
Ответ на max( bool )?  (Cedar Cox <cedarc@visionforisrael.com>)
Ответы Re: max( bool )?  (Cedar Cox <cedarc@visionforisrael.com>)
Список pgsql-sql
Cedar Cox <cedarc@visionforisrael.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


В списке pgsql-sql по дате отправления:

Предыдущее
От: Kyle
Дата:
Сообщение: Query broken under 7.1RC2
Следующее
От: "tjk@tksoft.com"
Дата:
Сообщение: Re: outer joins