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

Commit dda9f8e

Browse files
Fix psql \?'s entries for \dp and \z.
d913928 added support for the "S" modifier to psql's \dp and \z meta-commands, but it missed updating the corresponding entries in \?'s output. Author: Noriyoshi Shinoda Discussion: https://postgr.es/m/DM4PR84MB17342A51B3A1556CFBC7A4B2EE25A%40DM4PR84MB1734.NAMPRD84.PROD.OUTLOOK.COM
1 parent bc8e9a6 commit dda9f8e

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/bin/psql/help.c

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -277,7 +277,7 @@ slashUsage(unsigned short int pager)
277277
HELP0(" \\do[S+] [OPPTRN [TYPEPTRN [TYPEPTRN]]]\n"
278278
" list operators\n");
279279
HELP0(" \\dO[S+] [PATTERN] list collations\n");
280-
HELP0(" \\dp [PATTERN] list table, view, and sequence access privileges\n");
280+
HELP0(" \\dp[S] [PATTERN] list table, view, and sequence access privileges\n");
281281
HELP0(" \\dP[itn+] [PATTERN] list [only index/table] partitioned relations [n=nested]\n");
282282
HELP0(" \\drds [ROLEPTRN [DBPTRN]] list per-database role settings\n");
283283
HELP0(" \\dRp[+] [PATTERN] list replication publications\n");
@@ -293,7 +293,7 @@ slashUsage(unsigned short int pager)
293293
HELP0(" \\l[+] [PATTERN] list databases\n");
294294
HELP0(" \\sf[+] FUNCNAME show a function's definition\n");
295295
HELP0(" \\sv[+] VIEWNAME show a view's definition\n");
296-
HELP0(" \\z [PATTERN] same as \\dp\n");
296+
HELP0(" \\z[S] [PATTERN] same as \\dp\n");
297297
HELP0("\n");
298298

299299
HELP0("Large Objects\n");

0 commit comments

Comments
 (0)