Skip to content

Commit ea15816

Browse files
committed
psql: Fix category of \parse in output of --help=commands and \?
\parse was listed under the category "Connection", which was incorrect. Let's move it to "General" like the other meta-commands of the same type (\bind, \bind_named and \close). Oversight in commit d55322b. Discussion: https://postgr.es/m/Zz_x-NEKNeeRlAVc@paquier.xyz
1 parent 768dfd8 commit ea15816

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/bin/psql/help.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -174,6 +174,7 @@ slashUsage(unsigned short int pager)
174174
HELP0(" \\gexec execute query, then execute each value in its result\n");
175175
HELP0(" \\gset [PREFIX] execute query and store result in psql variables\n");
176176
HELP0(" \\gx [(OPTIONS)] [FILE] as \\g, but forces expanded output mode\n");
177+
HELP0(" \\parse STMT_NAME create a prepared statement\n");
177178
HELP0(" \\q quit psql\n");
178179
HELP0(" \\watch [[i=]SEC] [c=N] [m=MIN]\n"
179180
" execute query every SEC seconds, up to N times,\n"
@@ -312,7 +313,6 @@ slashUsage(unsigned short int pager)
312313
" connect to new database (currently no connection)\n");
313314
HELP0(" \\conninfo display information about current connection\n");
314315
HELP0(" \\encoding [ENCODING] show or set client encoding\n");
315-
HELP0(" \\parse STMT_NAME create a prepared statement\n");
316316
HELP0(" \\password [USERNAME] securely change the password for a user\n");
317317
HELP0("\n");
318318

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