Postgresql 9.3.5我在命令\ du中遇到以下错误

时间:2018-06-07 14:37:51

标签: postgresql-9.3

请您帮我解决以下错误:

psql -E
psql (9.3.5)
Type "help" for help.

neopost_packcity_dwh=# \du
********* QUERY **********
SELECT r.rolname, r.rolsuper, r.rolinherit,
r.rolcreaterole, r.rolcreatedb, r.rolcanlogin,
r.rolconnlimit, r.rolvaliduntil,
ARRAY(SELECT b.rolname
    FROM pg_catalog.pg_auth_members m
    JOIN pg_catalog.pg_roles b ON (m.roleid = b.oid)
    WHERE m.member = r.oid) as memberof
, r.rolreplication
FROM pg_catalog.pg_roles r
ORDER BY 1;
**************************

ERROR:  did not find '}' at end of input node
LINE 9: FROM pg_catalog.pg_roles r

此实例是只读模式下的备用数据库。 感谢

0 个答案:

没有答案