本次测试基与PostgreSQL 10.x版本 创建用户 [postgres@rtm2 data]$ /opt/pgsql-10/bin/createuser rentaomin [postgres@rtm2 data]$ 登陆psql查询创建的用户 postgres=# \du List of roles Role name | Attributes | Member of -----------+------------------------------------------------…