Re: [HACKERS] Followup on the UnixWare Optimizer bug. - Mailing list pgsql-patches

From Tom Lane
Subject Re: [HACKERS] Followup on the UnixWare Optimizer bug.
Date
Msg-id 23284.1124937567@sss.pgh.pa.us
Whole thread Raw
In response to Re: [HACKERS] Followup on the UnixWare Optimizer bug.  (Bruce Momjian <pgman@candle.pha.pa.us>)
Responses Re: [HACKERS] Followup on the UnixWare Optimizer bug.  (Bruce Momjian <pgman@candle.pha.pa.us>)
List pgsql-patches
Bruce Momjian <pgman@candle.pha.pa.us> writes:
> Good catch on the memory leak.  I have applied the following fix.

These explicit pfrees are a waste of time, and probably actually
counterproductive as far as speed goes, because these functions
will always be invoked in relatively short-lived memory contexts.

I wouldn't object except that they seem to make the code noticeably
more obscure.

            regards, tom lane

pgsql-patches by date:

Previous
From: Tom Lane
Date:
Subject: Re: [HACKERS] Proposed patch to getaddrinfo.c to support
Next
From: Bruce Momjian
Date:
Subject: Re: [HACKERS] Followup on the UnixWare Optimizer bug.