Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commitea15816

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 commitd55322b.Discussion:https://postgr.es/m/Zz_x-NEKNeeRlAVc@paquier.xyz
1 parent768dfd8 commitea15816

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)

[8]ページ先頭

©2009-2025 Movatter.jp