summaryrefslogtreecommitdiff
path: root/src/bin/psql/help.c
diff options
context:
space:
mode:
authorPeter Eisentraut2022-02-10 11:03:35 +0000
committerPeter Eisentraut2022-02-10 11:12:52 +0000
commitb9a3139397ff284cebc92fb008862ab902261883 (patch)
tree4c2ab73bf1f404c98a0077fee948cd9c7f89932b /src/bin/psql/help.c
parentf5744f1d1e3588b4c782bcad44e8da9c056eb67f (diff)
psql: Rename results to result when only a single one is meant
This makes the naming more consistent with the libpq API and the rest of the code, and makes actually supporting multiple result sets in the future less confusing. Discussion: https://www.postgresql.org/message-id/flat/db72fb98-9b43-d776-7247-6ed38f28e7c6%40enterprisedb.com
Diffstat (limited to 'src/bin/psql/help.c')
-rw-r--r--src/bin/psql/help.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/bin/psql/help.c b/src/bin/psql/help.c
index 937d6e9d49d..56afa6817e6 100644
--- a/src/bin/psql/help.c
+++ b/src/bin/psql/help.c
@@ -170,13 +170,13 @@ slashUsage(unsigned short int pager)
fprintf(output, _("General\n"));
fprintf(output, _(" \\copyright show PostgreSQL usage and distribution terms\n"));
- fprintf(output, _(" \\crosstabview [COLUMNS] execute query and display results in crosstab\n"));
+ fprintf(output, _(" \\crosstabview [COLUMNS] execute query and display result in crosstab\n"));
fprintf(output, _(" \\errverbose show most recent error message at maximum verbosity\n"));
- fprintf(output, _(" \\g [(OPTIONS)] [FILE] execute query (and send results to file or |pipe);\n"
+ fprintf(output, _(" \\g [(OPTIONS)] [FILE] execute query (and send result to file or |pipe);\n"
" \\g with no arguments is equivalent to a semicolon\n"));
fprintf(output, _(" \\gdesc describe result of query, without executing it\n"));
fprintf(output, _(" \\gexec execute query, then execute each value in its result\n"));
- fprintf(output, _(" \\gset [PREFIX] execute query and store results in psql variables\n"));
+ fprintf(output, _(" \\gset [PREFIX] execute query and store result in psql variables\n"));
fprintf(output, _(" \\gx [(OPTIONS)] [FILE] as \\g, but forces expanded output mode\n"));
fprintf(output, _(" \\q quit psql\n"));
fprintf(output, _(" \\watch [SEC] execute query every SEC seconds\n"));