Skip to content

Commit 2f6e61b

Browse files
committed
Improve description of \du and \dg, per suggestion from
Harald Armin Massa.
1 parent 5787d50 commit 2f6e61b

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

src/bin/psql/help.c

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
*
44
* Copyright (c) 2000-2008, PostgreSQL Global Development Group
55
*
6-
* $PostgreSQL: pgsql/src/bin/psql/help.c,v 1.123 2008/03/26 15:24:56 mha Exp $
6+
* $PostgreSQL: pgsql/src/bin/psql/help.c,v 1.124 2008/03/29 19:40:12 tgl Exp $
77
*/
88
#include "postgres_fe.h"
99

@@ -224,13 +224,13 @@ slashUsage(unsigned short int pager)
224224
fprintf(output, _(" \\dFd [PATTERN] list text search dictionaries (add \"+\" for more detail)\n"));
225225
fprintf(output, _(" \\dFt [PATTERN] list text search templates\n"));
226226
fprintf(output, _(" \\dFp [PATTERN] list text search parsers (add \"+\" for more detail)\n"));
227-
fprintf(output, _(" \\dg [PATTERN] list groups\n"));
227+
fprintf(output, _(" \\dg [PATTERN] list roles (groups)\n"));
228228
fprintf(output, _(" \\dn [PATTERN] list schemas (add \"+\" for more detail)\n"));
229229
fprintf(output, _(" \\do [NAME] list operators\n"));
230230
fprintf(output, _(" \\dl list large objects, same as \\lo_list\n"));
231231
fprintf(output, _(" \\dp [PATTERN] list table, view, and sequence access privileges\n"));
232232
fprintf(output, _(" \\dT [PATTERN] list data types (add \"+\" for more detail)\n"));
233-
fprintf(output, _(" \\du [PATTERN] list users\n"));
233+
fprintf(output, _(" \\du [PATTERN] list roles (users)\n"));
234234
fprintf(output, _(" \\l list all databases (add \"+\" for more detail)\n"));
235235
fprintf(output, _(" \\z [PATTERN] list table, view, and sequence access privileges (same as \\dp)\n"));
236236
fprintf(output, "\n");

0 commit comments

Comments
 (0)
pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy