Re: [HACKERS] Memory grows without bounds in aggregates!

From: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
To: Bruce Momjian <maillist(at)candle(dot)pha(dot)pa(dot)us>
Cc: mcontzen(at)dohle(dot)com, pgsql-hackers(at)postgreSQL(dot)org
Subject: Re: [HACKERS] Memory grows without bounds in aggregates!
Date: 1999-03-29 17:40:17
Message-ID: 5302.922729217@sss.pgh.pa.us
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

Bruce Momjian <maillist(at)candle(dot)pha(dot)pa(dot)us> writes:
>> Right, this is an instance of a known problem (palloc'd temporaries for
>> aggregate functions aren't freed until end of statement).

> I thought we fixed this recently with that aggregate patch?

No, we backed out said patch because it was busted (tried to free temp
even for pass-by-value types :-(). Anyone want to try again?

regards, tom lane

Browse pgsql-hackers by date

  From Date Subject
Next Message Tom Lane 1999-03-29 17:46:39 Re: [HACKERS] Speedup idea: avoid using SQL procedures as aliases
Previous Message Vazsonyi Peter[ke] 1999-03-29 17:32:43 Re: [HACKERS] NULL handling question