mirror of
https://github.com/postgres/postgres.git
synced 2025-06-30 21:42:05 +03:00
Message style improvements
This commit is contained in:
@ -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);
|
||||
}
|
||||
|
Reference in New Issue
Block a user