Skip site navigation (1) Skip section navigation (2)

Re: MemoryContextCheck()

From: Bruce Momjian <pgman(at)candle(dot)pha(dot)pa(dot)us>
To: Karel Zak <zakkr(at)zf(dot)jcu(dot)cz>
Cc: pgsql-patches <pgsql-patches(at)postgreSQL(dot)org>, Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
Subject: Re: MemoryContextCheck()
Date: 2000-07-10 21:45:12
Message-ID: 200007102145.RAA03995@candle.pha.pa.us (view raw or flat)
Thread:
Lists: pgsql-patches
>  A problem in the current source is that we have still some malloc()
> allocation that is not needful and this allocation is total invisible for
> all context routines. For example Dllist in backend (pretty dirty it is in
> catcache where values in Dllist are palloc-ed, but list is malloc-ed).
> --- and BTW. this Dllist design stand in the way for query cache :-)

That Dllist really has to be removed and made to use the existing
routines, if possible.


-- 
  Bruce Momjian                        |  http://candle.pha.pa.us
  pgman(at)candle(dot)pha(dot)pa(dot)us               |  (610) 853-3000
  +  If your life is a hard drive,     |  830 Blythe Avenue
  +  Christ can be your backup.        |  Drexel Hill, Pennsylvania 19026

In response to

Responses

pgsql-patches by date

Next:From: Tom LaneDate: 2000-07-10 22:36:09
Subject: Re: MemoryContextCheck()
Previous:From: Bruce MomjianDate: 2000-07-10 18:49:51
Subject: Re: PostgreSQL BSDI BSD/OS port

Privacy Policy | About PostgreSQL
Copyright © 1996-2014 The PostgreSQL Global Development Group