What is the recommended way to figure out if a user got a certain right (e.g. select or execute) on a certain class (e.g. table or function) in PostgreSQL?
At the moment
Take a look at the "Access Privilege Inquiry Functions" and also the "GRANT" reference page.