How to grant all table privileges to all schemas in a Postgres database to a user/role?
The below command grants only to specific schema not whole database.
GRANT ALL PRIVILEGES ON ALL TABLES IN SCHEMA schema_name TO username;
For example,
Database: test Schema : schema1, schema2 inside test table : schema1.table1,schema1.table2,schema2.table1,schema2.table2
How to provide all table privileges to all tables found in all schemas found inside Database.