The path for *exprs != NIL would misbehave, and likely crash,
since pull_varattnos expects its last argument to be valid
at call.
Found by Coverity --- we have no coverage of this path in
the regression tests.
if (pg_class_aclcheck(rte->relid, userid, ACL_SELECT) != ACLCHECK_OK)
{
- Bitmapset *clause_attnums;
+ Bitmapset *clause_attnums = NULL;
/* Don't have table privilege, must check individual columns */
if (*exprs != NIL)