Metadata from NEW and OLD constructs?

Поиск
Список
Период
Сортировка
От Lenorovitz, Joel
Тема Metadata from NEW and OLD constructs?
Дата
Msg-id 7119BB016BDF6445B20A4B9F14F50B2D44A8D5@WILSON.usap.gov
обсуждение исходный текст
Ответы Re: Metadata from NEW and OLD constructs?  (Martijn van Oosterhout <kleptog@svana.org>)
Список pgsql-general

Greetings,

I was wondering if it's possible to get any of the metadata from the NEW and OLD constructs in a trigger or view rule?  Specifically, I'd like to get the column name or identifier anywhere the new record differs from the old record (i.e. NEW.column_X <> OLD.column_X).  Any advice would be greatly appreciated.

Thanks,
JL

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

Предыдущее
От: Tom Lane
Дата:
Сообщение: Re: forcing compression of text field
Следующее
От: Tom Lane
Дата:
Сообщение: Re: PITR and moving objects between table spaces