PostgreSQL 8.4 grant DML privileges on all tables to a role

前端 未结 5 778
情书的邮戳
情书的邮戳 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:13

    If you have another user who have the DML privileges, it works in postgresql 8.x/9.x:

    grant  to testuser;
    

    Hope it helps.

提交回复
热议问题