Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commitb04137a

Browse files
committed
Fix verbose display of REPLICATION role attribute
Josh Kupershmidt
1 parent721ea41 commitb04137a

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)

[8]ページ先頭

©2009-2025 Movatter.jp