Re: Beta time

From: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
To: "Christopher Kings-Lynne" <chriskl(at)familyhealth(dot)com(dot)au>
Cc: "Bruce Momjian" <pgman(at)candle(dot)pha(dot)pa(dot)us>, "PostgreSQL-development" <pgsql-hackers(at)postgresql(dot)org>
Subject: Re: Beta time
Date: 2001-09-19 13:41:18
Message-ID: 28056.1000906878@sss.pgh.pa.us
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

"Christopher Kings-Lynne" <chriskl(at)familyhealth(dot)com(dot)au> writes:
>> 3. pfree'ing iname at the bottom doesn't strike me as a good
>> idea; isn't that possibly part of your input querytree?

> Hmmm. OK. What about in the case where iname is null and I give it a
> makeObjectName?

Don't worry about it. palloc'd space will be recovered anyway at end of
statement. It's really not worth the code space to pfree every little
bit of space you might use, except in routines that could be executed
many times in a single query.

regards, tom lane

In response to

Browse pgsql-hackers by date

  From Date Subject
Next Message Marc G. Fournier 2001-09-19 14:14:44 Re: Major change to CVS effective immediately ...
Previous Message Shridhar Daithankar 2001-09-19 13:32:05 Large object help requierd