Re: Beta time - Mailing list pgsql-hackers

From Tom Lane
Subject Re: Beta time
Date
Msg-id 28056.1000906878@sss.pgh.pa.us
Whole thread Raw
In response to Re: Beta time  ("Christopher Kings-Lynne" <chriskl@familyhealth.com.au>)
List pgsql-hackers
"Christopher Kings-Lynne" <chriskl@familyhealth.com.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


pgsql-hackers by date:

Previous
From: Peter Eisentraut
Date:
Subject: Re: slow UNIONing
Next
From: Shridhar Daithankar
Date:
Subject: Large object help requierd