What GRANT USAGE ON SCHEMA exactly do?
问题 I'm trying to create for the first time a Postgres database, so this is probably a stupid question. I assigned basic read-only permissions to the db role that must access the database from my php scripts, and I have a curiosity: if I execute GRANT some_or_all_privileges ON ALL TABLES IN SCHEMA schema TO role; is there any need to execute also GRANT USAGE ON SCHEMA schema TO role; ? From documentation: USAGE: For schemas, allows access to objects contained in the specified schema (assuming