Re: [HACKERS] Followup on the UnixWare Optimizer bug.

From: Bruce Momjian <pgman(at)candle(dot)pha(dot)pa(dot)us>
To: Larry Rosenman <ler(at)lerctr(dot)org>
Cc: PostgreSQL-patches <pgsql-patches(at)postgresql(dot)org>
Subject: Re: [HACKERS] Followup on the UnixWare Optimizer bug.
Date: 2005-08-25 01:30:36
Message-ID: 200508250130.j7P1Ubk02017@candle.pha.pa.us
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers pgsql-patches

Larry Rosenman wrote:
> The following is from my SCO Internal contact about the bug. It's
> definitely their bug. Towards the end of the
> Exact diagnosis, is a suggested work-around for now, as well as a (possible)
> memory leak.
...
> Also note that there appears to be a memory leak in the interval_****
> routines. For example interval_div() allocates a "result" Interval.
> It eventually passes this result through to interval_justify_hours() which
> allocates another Interval "result" and that "result" is what gets passed
> back to caller on interval_div(). The 1st Interval allocated appears to be
> left around.......

Good catch on the memory leak. I have applied the following fix.
Thanks to SCO for the report.

--
Bruce Momjian | http://candle.pha.pa.us
pgman(at)candle(dot)pha(dot)pa(dot)us | (610) 359-1001
+ If your life is a hard drive, | 13 Roberts Road
+ Christ can be your backup. | Newtown Square, Pennsylvania 19073

Attachment Content-Type Size
unknown_filename text/plain 3.9 KB

In response to

Responses

Browse pgsql-hackers by date

  From Date Subject
Next Message Bruce Momjian 2005-08-25 01:32:46 Re: [HACKERS] Proposed patch to getaddrinfo.c to support
Previous Message Gavin Sherry 2005-08-25 01:16:06 Re: enable/disable trigger (Re: Fwd: [HACKERS] Open items)

Browse pgsql-patches by date

  From Date Subject
Next Message Bruce Momjian 2005-08-25 01:32:46 Re: [HACKERS] Proposed patch to getaddrinfo.c to support
Previous Message Gavin Sherry 2005-08-25 01:16:06 Re: enable/disable trigger (Re: Fwd: [HACKERS] Open items)