Re: Proposal for fixing intra-query memory leaks

From: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
To: Karel Zak <zakkr(at)zf(dot)jcu(dot)cz>
Cc: pgsql-hackers(at)postgresql(dot)org
Subject: Re: Proposal for fixing intra-query memory leaks
Date: 2000-05-02 21:26:09
Message-ID: 5011.957302769@sss.pgh.pa.us
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

Karel Zak <zakkr(at)zf(dot)jcu(dot)cz> writes:
> The chunk header must be relevant and same for all allocation methods and
> must be independent on AllocSel (aset.c) code. Now, it is not. Am I right?

Right. Actually it would work to have additional data before the
standard link-to-context-plus-chunk-size fields, if a particular method
really needed more per-chunk data. But I doubt we'd ever need that.

And, as you saw, the links to the pfree and prealloc routines would need
to be present in standard places in the context header.

regards, tom lane

In response to

Responses

Browse pgsql-hackers by date

  From Date Subject
Next Message Bruce Momjian 2000-05-02 21:26:48 Re: RE: [PATCHES] relation filename patch
Previous Message Bruce Momjian 2000-05-02 21:24:22 Re: Request for 7.0 JDBC status