Location via proxy:   [ UP ]  
[Report a bug]   [Manage cookies]                
Skip to content

Commit 299591d

Browse files
committed
Make \? output of \dg and \du the same
The previous wording might have suggested that \du only showed login roles and \dg only group roles, but that is no longer the case. proposed by Josh Kupershmidt
1 parent 37e0a01 commit 299591d

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/bin/psql/help.c

+2-2
Original file line numberDiff line numberDiff line change
@@ -207,7 +207,7 @@ slashUsage(unsigned short int pager)
207207
fprintf(output, _(" \\dFd[+] [PATTERN] list text search dictionaries\n"));
208208
fprintf(output, _(" \\dFp[+] [PATTERN] list text search parsers\n"));
209209
fprintf(output, _(" \\dFt[+] [PATTERN] list text search templates\n"));
210-
fprintf(output, _(" \\dg[+] [PATTERN] list roles (groups)\n"));
210+
fprintf(output, _(" \\dg[+] [PATTERN] list roles\n"));
211211
fprintf(output, _(" \\di[S+] [PATTERN] list indexes\n"));
212212
fprintf(output, _(" \\dl list large objects, same as \\lo_list\n"));
213213
fprintf(output, _(" \\dn[+] [PATTERN] list schemas\n"));
@@ -217,7 +217,7 @@ slashUsage(unsigned short int pager)
217217
fprintf(output, _(" \\ds[S+] [PATTERN] list sequences\n"));
218218
fprintf(output, _(" \\dt[S+] [PATTERN] list tables\n"));
219219
fprintf(output, _(" \\dT[S+] [PATTERN] list data types\n"));
220-
fprintf(output, _(" \\du[+] [PATTERN] list roles (users)\n"));
220+
fprintf(output, _(" \\du[+] [PATTERN] list roles\n"));
221221
fprintf(output, _(" \\dv[S+] [PATTERN] list views\n"));
222222
fprintf(output, _(" \\l[+] list all databases\n"));
223223
fprintf(output, _(" \\sf[+] FUNCNAME show a function's definition\n"));

0 commit comments

Comments
 (0)