Skip to content

Commit 845cad4

Browse files
committed
Fix inconsistencies in psql --help=commands
The set of subcommands supported by \dAp, \do and \dy was described incorrectly in psql's --help. The documentation was already consistent with the code. Reported-by: inoas, from IRC Author: Matthijs van der Vleuten Reviewed-by: Neil Chen Discussion: https://postgr.es/m/6a984e24-2171-4039-9050-92d55e7b23fe@www.fastmail.com Backpatch-through: 9.6
1 parent be90098 commit 845cad4

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
@@ -228,7 +228,7 @@ slashUsage(unsigned short int pager)
228228
fprintf(output, _(" \\dAc[+] [AMPTRN [TYPEPTRN]] list operator classes\n"));
229229
fprintf(output, _(" \\dAf[+] [AMPTRN [TYPEPTRN]] list operator families\n"));
230230
fprintf(output, _(" \\dAo[+] [AMPTRN [OPFPTRN]] list operators of operator families\n"));
231-
fprintf(output, _(" \\dAp [AMPTRN [OPFPTRN]] list support functions of operator families\n"));
231+
fprintf(output, _(" \\dAp[+] [AMPTRN [OPFPTRN]] list support functions of operator families\n"));
232232
fprintf(output, _(" \\db[+] [PATTERN] list tablespaces\n"));
233233
fprintf(output, _(" \\dc[S+] [PATTERN] list conversions\n"));
234234
fprintf(output, _(" \\dC[+] [PATTERN] list casts\n"));
@@ -252,7 +252,7 @@ slashUsage(unsigned short int pager)
252252
fprintf(output, _(" \\dL[S+] [PATTERN] list procedural languages\n"));
253253
fprintf(output, _(" \\dm[S+] [PATTERN] list materialized views\n"));
254254
fprintf(output, _(" \\dn[S+] [PATTERN] list schemas\n"));
255-
fprintf(output, _(" \\do[S] [OPPTRN [TYPEPTRN [TYPEPTRN]]]\n"
255+
fprintf(output, _(" \\do[S+] [OPPTRN [TYPEPTRN [TYPEPTRN]]]\n"
256256
" list operators\n"));
257257
fprintf(output, _(" \\dO[S+] [PATTERN] list collations\n"));
258258
fprintf(output, _(" \\dp [PATTERN] list table, view, and sequence access privileges\n"));
@@ -267,7 +267,7 @@ slashUsage(unsigned short int pager)
267267
fprintf(output, _(" \\dv[S+] [PATTERN] list views\n"));
268268
fprintf(output, _(" \\dx[+] [PATTERN] list extensions\n"));
269269
fprintf(output, _(" \\dX [PATTERN] list extended statistics\n"));
270-
fprintf(output, _(" \\dy [PATTERN] list event triggers\n"));
270+
fprintf(output, _(" \\dy[+] [PATTERN] list event triggers\n"));
271271
fprintf(output, _(" \\l[+] [PATTERN] list databases\n"));
272272
fprintf(output, _(" \\sf[+] FUNCNAME show a function's definition\n"));
273273
fprintf(output, _(" \\sv[+] VIEWNAME show a view's definition\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