Fix verbose display of REPLICATION role attribute
Josh Kupershmidt
This commit is contained in:
parent
721ea41f14
commit
b04137a294
@ -2342,7 +2342,7 @@ describeRoles(const char *pattern, bool verbose)
|
||||
add_role_attribute(&buf, _("Cannot login"));
|
||||
|
||||
if (pset.sversion >= 90100)
|
||||
if (strcmp(PQgetvalue(res, i, 8), "t") == 0)
|
||||
if (strcmp(PQgetvalue(res, i, (verbose ? 9 : 8)), "t") == 0)
|
||||
add_role_attribute(&buf, _("Replication"));
|
||||
|
||||
conns = atoi(PQgetvalue(res, i, 6));
|
||||
|
Loading…
x
Reference in New Issue
Block a user