Re: update on TOAST status'

Поиск
Список
Период
Сортировка
От JanWieck@t-online.de (Jan Wieck)
Тема Re: update on TOAST status'
Дата
Msg-id 200007112246.AAA20376@hot.jw.home
обсуждение исходный текст
Ответ на Re: update on TOAST status'  (Tom Lane <tgl@sss.pgh.pa.us>)
Ответы Re: update on TOAST status'  (Tom Lane <tgl@sss.pgh.pa.us>)
Список pgsql-hackers
Tom Lane wrote:
> JanWieck@t-online.de (Jan Wieck) writes:
> >     I've  looked at textout() and, well, your style of detoasting
> >     arguments looks alot better and easier.  From  the  way  it's
> >     implemented  I  assume  the  per tuple memory context is done
> >     too, no?
>
> Not yet --- I'm running regress tests on it right now, though.
> You're right that I'm assuming the function routines can leak
> memory without trouble.
>
> (We might need to avoid leaks in the comparison routines that are used
> for indexes, but otherwise I think this scheme will work comfortably.)
   That sounds bad. At least not very good.
   So we better add a PG_FREEARG_xxx(ptr, argno) macro that does   the pfree if the pointer is different from  the  one
in  the   argument.
 


Jan

--

#======================================================================#
# It's easier to get forgiveness for being wrong than for being right. #
# Let's break this rule - forgive me.                                  #
#================================================== JanWieck@Yahoo.com #




В списке pgsql-hackers по дате отправления:

Предыдущее
От: JanWieck@t-online.de (Jan Wieck)
Дата:
Сообщение: Re: Foreign key bugs (Re: [BUGS] "New" bug?? Serious - crashesbackend.)
Следующее
От: Philip Warner
Дата:
Сообщение: Insert..returning (was Re: Re: postgres TODO)