Stephen Frost <sfrost(at)snowman(dot)net> writes:
> I'm open to suggestions about how to handle this. My first thought
> would be- add an entry to the cols_sel list for the RTE that is special
> and indicates "any column", perhaps by using a '0' for the attrid, as is
> done elsewhere. Then modify ExecCheckRTEPerms() to handle it.
Wouldn't it be sufficient to treat an empty cols_sel list that way?
regards, tom lane