I have a function f in plpgsql that has a declaration var1
tableA.field1%TYPE.
A user calls this function via a rule for a view. The user has rights to the
view, but no rights to tableA. Would the function call work? If not, does it
make sense to change the declaration to var1 viewA.field1%TYPE?