Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us> writes:
> "BARTKO Zoltan" <bartko(dot)zoltan(at)pobox(dot)sk> writes:
> > caller() is the function I am looking for.
>
> The closest thing you will find is SESSION_USER.
I think you can have to have a trigger that compared session_user with the
value of the column in OLD and blocked the update/delete if it doesn't match.
--
greg