Re: stack usage in toast_insert_or_update()

Поиск
Список
Период
Сортировка
От Tom Lane
Тема Re: stack usage in toast_insert_or_update()
Дата
Msg-id 16858.1170226124@sss.pgh.pa.us
обсуждение исходный текст
Ответ на Re: stack usage in toast_insert_or_update()  ("Pavan Deolasee" <pavan.deolasee@gmail.com>)
Ответы Re: stack usage in toast_insert_or_update()  ("Pavan Deolasee" <pavan.deolasee@gmail.com>)
Список pgsql-hackers
"Pavan Deolasee" <pavan.deolasee@gmail.com> writes:
> Btw, I noticed that the toast_insert_or_update() is re-entrant.
> toast_save_datum() calls simple_heap_insert() which somewhere down the
> line calls toast_insert_or_update() again.

The toast code takes pains to ensure that the tuples it creates won't be
subject to re-toasting.  Else it'd be an infinite recursion.
        regards, tom lane


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

Предыдущее
От: "Pavan Deolasee"
Дата:
Сообщение: Re: stack usage in toast_insert_or_update()
Следующее
От: imad
Дата:
Сообщение: Re: PL/pgSQL RENAME functionality in TODOs