restrict modification of column values in BR triggers

Поиск
Список
Период
Сортировка
От Miroslav Šimulčík
Тема restrict modification of column values in BR triggers
Дата
Msg-id CAHRNM68GyOuzwLkfkfnDAbWKnqbbBpNW7pARQRP60JvhC_f-eg@mail.gmail.com
обсуждение исходный текст
Ответы Re: restrict modification of column values in BR triggers  (Robert Haas <robertmhaas@gmail.com>)
Список pgsql-hackers
Hi,

is there any way to prevent role from modifing values of some columns of NEW row in before row triggers? I revoked insert privilege from these columns to ensure that only default value can be inserted, but it is still posible to modify values being inserted using before row triggers. I can't revoke trigger privilege on that table, because this role must be able to create triggers on this table.

Thank you.

Best regards
Miroslav Simulcik

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

Предыдущее
От: Magnus Hagander
Дата:
Сообщение: Re: pgstat documentation tables
Следующее
От: Marti Raudsepp
Дата:
Сообщение: [PATCH] Cleanup: use heap_open/heap_close consistently