Content-Length: 259188 | pFad | http://github.com/postgrespro/postgres_cluster/commit/b04137a2948a24dfa3b87222f07073eb9939b264

FB Fix verbose display of REPLICATION role attribute · postgrespro/postgres_cluster@b04137a · GitHub
Skip to content

Commit b04137a

Browse files
committed
Fix verbose display of REPLICATION role attribute
Josh Kupershmidt
1 parent 721ea41 commit b04137a

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/bin/psql/describe.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2342,7 +2342,7 @@ describeRoles(const char *pattern, bool verbose)
23422342
add_role_attribute(&buf, _("Cannot login"));
23432343

23442344
if (pset.sversion >= 90100)
2345-
if (strcmp(PQgetvalue(res, i, 8), "t") == 0)
2345+
if (strcmp(PQgetvalue(res, i, (verbose ? 9 : 8)), "t") == 0)
23462346
add_role_attribute(&buf, _("Replication"));
23472347

23482348
conns = atoi(PQgetvalue(res, i, 6));

0 commit comments

Comments
 (0)








ApplySandwichStrip

pFad - (p)hone/(F)rame/(a)nonymizer/(d)eclutterfier!      Saves Data!


--- a PPN by Garber Painting Akron. With Image Size Reduction included!

Fetched URL: http://github.com/postgrespro/postgres_cluster/commit/b04137a2948a24dfa3b87222f07073eb9939b264

Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy