first commit

This commit is contained in:
iProbe 2022-10-18 16:59:37 +08:00
commit ba848e218d
1001 changed files with 152333 additions and 0 deletions

View file

@ -0,0 +1,11 @@
创建quartztstopr用户并赋权限
1、创建用户create role 与create user 区别只有create user默认加上login而create role不加
postgres=# create user quartztstopr with password 'Quartztstopr@2018';
2、切换到quartztst数据库
postgres=# \c quartztst
3、为用户赋增删改查权限
quartztst=# grant select,update,delete,insert on all tables in schema public to quartztstopr; # 查询,删除,更新,插入
quartztst=# grant all privileges on all tables in schema public to quartztstopr; # 所有权限
4、为用户赋修改表字段权限
quartztst=# grant all privileges on all tables in schema public to quartztstopr;