Skip to content

Commit 5743d12

Browse files
committed
psql: Improve descriptions of \\flush[request] in --help
Noah has reported that the current wording was confusing compared to the description of the underlying libpq routine. The new wording is from me. Reported-by: Noah Misch <noah@leadboat.com> Discussion: https://postgr.es/m/20250415213450.1f.nmisch@google.com
1 parent 5ee7bd9 commit 5743d12

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
@@ -169,8 +169,8 @@ slashUsage(unsigned short int pager)
169169
HELP0(" \\crosstabview [COLUMNS] execute query and display result in crosstab\n");
170170
HELP0(" \\endpipeline exit pipeline mode\n");
171171
HELP0(" \\errverbose show most recent error message at maximum verbosity\n");
172-
HELP0(" \\flush push unsent data to the server\n");
173-
HELP0(" \\flushrequest send a flushrequest command\n");
172+
HELP0(" \\flush flush output data to the server\n");
173+
HELP0(" \\flushrequest send request to the server to flush its output buffer\n");
174174
HELP0(" \\g [(OPTIONS)] [FILE] execute query (and send result to file or |pipe);\n"
175175
" \\g with no arguments is equivalent to a semicolon\n");
176176
HELP0(" \\gdesc describe result of query, without executing it\n");

0 commit comments

Comments
 (0)