PostgreSQL 8.4 grant DML privileges on all tables to a role

前端 未结 5 779
情书的邮戳
情书的邮戳 2020-12-06 17:44

How do I go about granting DML (SELECT,INSERT,UPDATE,DELETE) on all tables in a schema in PostgreSQL 8.4? I\'d also like this grant to persist for new table creation in the

5条回答
  •  温柔的废话
    2020-12-06 18:17

    Add all priviledges on all tables:

    GRANT ALL PRIVILEGES ON ALL TABLES IN SCHEMA public TO [username];
    

提交回复
热议问题