Re: Iterating through individual fields of OLD/NEW records in plpgsql trigger

Поиск
Список
Период
Сортировка
От Tom Lane
Тема Re: Iterating through individual fields of OLD/NEW records in plpgsql trigger
Дата
Msg-id 3086.1053834200@sss.pgh.pa.us
обсуждение исходный текст
Ответ на Iterating through individual fields of OLD/NEW records in plpgsql trigger  (j.sachanbinski@coroplast.de)
Список pgsql-general
j.sachanbinski@coroplast.de writes:
> is there a way to loop/iterate through every individual field of the
> OLD/NEW records in plpgsql trigger function?

No, plpgsql isn't designed to treat field names as data.  You could do
it in pltcl though.  Maybe plpython too; I'm not familiar with that.

            regards, tom lane

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

Предыдущее
От: Tom Lane
Дата:
Сообщение: Re: Trigger in transaction
Следующее
От: Tom Lane
Дата:
Сообщение: Re: disk space usage enlarging despite vacuuming