Re: NOTICE-message

Поиск
Список
Период
Сортировка
От Tom Lane
Тема Re: NOTICE-message
Дата
Msg-id 11484.971988040@sss.pgh.pa.us
обсуждение исходный текст
Ответ на NOTICE-message  (Ulf Mehlig <umehlig@uni-bremen.de>)
Список pgsql-general
Ulf Mehlig <umehlig@uni-bremen.de> writes:
>   NOTICE:  PortalHeapMemoryFree: 0x0x40b139c8 not in alloc set!
>   NOTICE:  PortalHeapMemoryFree: 0x0x40b139c8 not in alloc set!
>
>          select s_id,nummer,
>                 min(timest::time) as timest,
                  ^^^^^^^^^^^^^^^^^
>                 round(avg(photo),2),round(stddev(photo),3),

It turns out that the problem is in the above min() function: min() and
max() are broken in 7.0.* for types time and timetz.  The bug is also
causing most of the other aggregate results in the query to be garbage,
BTW.

There is no such bug in current sources because memory management for
aggregates is now done in a cleaner fashion.  I'll see about making a
quick-hack patch for 7.0.3, though.

            regards, tom lane

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

Предыдущее
От: "Steve Wolfe"
Дата:
Сообщение: Re: Any risk in increasing BLCKSZ to get larger tuples?
Следующее
От: "Diehl, Jeffrey"
Дата:
Сообщение: RE: MySQL -> pgsql