plpgsql how to iterate through record values?

Поиск
Список
Период
Сортировка
От german pulido
Тема plpgsql how to iterate through record values?
Дата
Msg-id a7a9b8$q9e$1@jupiter.hub.org
обсуждение исходный текст
Список pgsql-sql
Im new to plpgsql...

Does someone knows how to iterate through the values of a record in plpgsql?

Im making a function that is dependent of the table configuration. I have
many tables in the DB and would like to make only one function for all the
triggers.

To make it shorter, I would like a trigger that concatenates all the values
of a new record when insert and update and stores it on a different table.
Right now I know how to make a trigger for each table.

Any help will be greatly appreciated.

Thanks.





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

Предыдущее
От: Ken Corey
Дата:
Сообщение: How do I set the system time on production server?
Следующее
От: Jeff Eckermann
Дата:
Сообщение: Re: [GENERAL] How to create crude report with psql and/or plpgsql