Re: [HACKERS] restrict modification of column values in BR triggers

2012-02-27 Thread Robert Haas
On Mon, Feb 27, 2012 at 5:35 AM, Miroslav Šimulčík wrote: > 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 > mod

[HACKERS] restrict modification of column values in BR triggers

2012-02-27 Thread Miroslav Šimulčík
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 r