Re: Beta time

Поиск
Список
Период
Сортировка
От Tom Lane
Тема Re: Beta time
Дата
Msg-id 28056.1000906878@sss.pgh.pa.us
обсуждение исходный текст
Ответ на Re: Beta time  ("Christopher Kings-Lynne" <chriskl@familyhealth.com.au>)
Список 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 по дате отправления:

Предыдущее
От: Peter Eisentraut
Дата:
Сообщение: Re: slow UNIONing
Следующее
От: Shridhar Daithankar
Дата:
Сообщение: Large object help requierd