diff options
author | Peter Eisentraut <peter@eisentraut.org> | 2023-05-19 18:45:29 +0200 |
---|---|---|
committer | Peter Eisentraut <peter@eisentraut.org> | 2023-05-19 18:45:29 +0200 |
commit | 8e7912e73da008862180112cc6ba4d0aa5fa955d (patch) | |
tree | 4b05da87bfb9e8ec1914579f04bc4469451edb6b /src/bin/psql/command.c | |
parent | e5f85744eaa5ca83ff4d27509ed094ca33ed485e (diff) | |
download | postgresql-8e7912e73da008862180112cc6ba4d0aa5fa955d.tar.gz postgresql-8e7912e73da008862180112cc6ba4d0aa5fa955d.zip |
Message style improvements
Diffstat (limited to 'src/bin/psql/command.c')
-rw-r--r-- | src/bin/psql/command.c | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/src/bin/psql/command.c b/src/bin/psql/command.c index 607a57715a3..95b304aaf68 100644 --- a/src/bin/psql/command.c +++ b/src/bin/psql/command.c @@ -4525,7 +4525,7 @@ do_pset(const char *param, const char *value, printQueryOpt *popt, bool quiet) popt->topt.expanded_header_exact_width = atoi(value); if (popt->topt.expanded_header_exact_width == 0) { - pg_log_error("\\pset: allowed xheader_width values are full (default), column, page, or a number specifying the exact width."); + pg_log_error("\\pset: allowed xheader_width values are \"%s\" (default), \"%s\", \"%s\", or a number specifying the exact width", "full", "column", "page"); return false; } } @@ -4727,11 +4727,11 @@ printPsetInfo(const char *param, printQueryOpt *popt) else if (strcmp(param, "xheader_width") == 0) { if (popt->topt.expanded_header_width_type == PRINT_XHEADER_FULL) - printf(_("Expanded header width is 'full'.\n")); + printf(_("Expanded header width is \"%s\".\n"), "full"); else if (popt->topt.expanded_header_width_type == PRINT_XHEADER_COLUMN) - printf(_("Expanded header width is 'column'.\n")); + printf(_("Expanded header width is \"%s\".\n"), "column"); else if (popt->topt.expanded_header_width_type == PRINT_XHEADER_PAGE) - printf(_("Expanded header width is 'page'.\n")); + printf(_("Expanded header width is \"%s\".\n"), "page"); else if (popt->topt.expanded_header_width_type == PRINT_XHEADER_EXACT_WIDTH) printf(_("Expanded header width is %d.\n"), popt->topt.expanded_header_exact_width); } |