Re: why copy tuple in the end of trigger when nothing changed in NEW OLD record variable

Поиск
Список
Период
Сортировка
От Tom Lane
Тема Re: why copy tuple in the end of trigger when nothing changed in NEW OLD record variable
Дата
Msg-id 29052.1213155783@sss.pgh.pa.us
обсуждение исходный текст
Ответ на why copy tuple in the end of trigger when nothing changed in NEW OLD record variable  ("billy" <billywq@163.com>)
Список pgsql-hackers
"billy" <billywq@163.com> writes:
>     I think we can add some judgment conditions in function plpgsql_exec_trigger() to avoid this problem.

I don't especially see the point of adding extra complexity here.
AFAICS you are talking about avoiding one or two palloc/pfree
cycles, which is surely down in the noise compared to the cost of
calling a plpgsql trigger.
        regards, tom lane


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

Предыдущее
От: "billy"
Дата:
Сообщение: why copy tuple in the end of trigger when nothing changed in NEW OLD record variable
Следующее
От: "billy"
Дата:
Сообщение: Re: why copy tuple in the end of trigger when nothing changed in NEW OLD record variable