我该如何在Postgres数据库角色中添加外键?
CREATE TABLE "public"."role_info" (
"last_login" timestamptz,
"user" name,
CONSTRAINT "role_info" FOREIGN KEY ("user") REFERENCES "pg_catalog"."pg_authid" ("rolname") ON UPDATE NO ACTION ON DELETE NO ACTION
)
WITH (OIDS=FALSE);
这个返回的是权限被拒绝。