diff options
author | Michael Paquier | 2025-04-19 23:16:57 +0000 |
---|---|---|
committer | Michael Paquier | 2025-04-19 23:16:57 +0000 |
commit | 5743d122fcf35edba801609fcde7410610ed0f19 (patch) | |
tree | e2c7b0abb44a4e8572257b1411275359cb42bfff | |
parent | 5ee7bd944ee812e988a7dee52613ee1c80c13579 (diff) |
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 <[email protected]>
Discussion: https://postgr.es/m/[email protected]
-rw-r--r-- | src/bin/psql/help.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/bin/psql/help.c b/src/bin/psql/help.c index daa725246c9..8c917e61f49 100644 --- a/src/bin/psql/help.c +++ b/src/bin/psql/help.c @@ -169,8 +169,8 @@ slashUsage(unsigned short int pager) HELP0(" \\crosstabview [COLUMNS] execute query and display result in crosstab\n"); HELP0(" \\endpipeline exit pipeline mode\n"); HELP0(" \\errverbose show most recent error message at maximum verbosity\n"); - HELP0(" \\flush push unsent data to the server\n"); - HELP0(" \\flushrequest send a flushrequest command\n"); + HELP0(" \\flush flush output data to the server\n"); + HELP0(" \\flushrequest send request to the server to flush its output buffer\n"); HELP0(" \\g [(OPTIONS)] [FILE] execute query (and send result to file or |pipe);\n" " \\g with no arguments is equivalent to a semicolon\n"); HELP0(" \\gdesc describe result of query, without executing it\n"); |