Re: freefuncs.c is never called from anywhere!? - Mailing list pgsql-hackers

From Karel Zak
Subject Re: freefuncs.c is never called from anywhere!?
Date
Msg-id Pine.LNX.3.96.1000609201103.8392A-100000@ara.zf.jcu.cz
Whole thread Raw
In response to Re: freefuncs.c is never called from anywhere!?  (Tom Lane <tgl@sss.pgh.pa.us>)
List pgsql-hackers
> Karel Zak <zakkr@zf.jcu.cz> writes:
> >> IIRC, some people were concerned about the fact that freeObject()
> >> couldn't possibly cope with circular structures, multiply-linked
> >> subexpressions, etc.  I don't think that's a problem for my intended
> >> use in the relcache --- the only structures I'll be freeing are ones
> >> previously read in by the node-reading functions, and those aren't
> >> going to have any surprises like that.
> 
> >  IMHO use separate memory context will better and more fast way than 
> > freeObject().
> 
> A separate memory context for each relcache entry?  I don't think so...
No. I mean _common_ for manipulation with query/plan tree.




pgsql-hackers by date:

Previous
From: Tom Lane
Date:
Subject: Re: libpq problems in CVS
Next
From: Bruce Momjian
Date:
Subject: Re: freefuncs.c is never called from anywhere!?]