添加新人
CREATE role uuuu LOGIN PASSWORD 'xxxxxx'
查找对于的md5值
SELECT rolname,rolpassword FROM pg_authid;
添加对应的md5值
vim /usr/local/greenplum-db-6.11.0/share/doc/pgbouncer/userlist.txt
重启pgbouncer
GPHOME/share/doc/pgbouncer/pgbouncer.ini
添加对应账号的ip访问权限
略
将对应的访问组权限赋值
grant 组 to uuuu;
将对应的资源队列赋值
alter role uuuu resource queue xxxx_queue;
完成!