fix psql \d, and user-id check in rowsecurity.c