Simon Riggs <simon(at)2ndQuadrant(dot)com> writes:
> Strangely, I was looking into removing the ExecCheckRTPerms check
> altogether by forcing plan invalidation when permissions are updated.
> That would be a performance tweak that would render this change useless.
That seems both pointless and wrong. Permissions checks should happen
at execution time not plan time.
regards, tom lane