diff options
author | Bruce Momjian <bruce@momjian.us> | 2005-07-18 20:57:53 +0000 |
---|---|---|
committer | Bruce Momjian <bruce@momjian.us> | 2005-07-18 20:57:53 +0000 |
commit | 507465525e8c3e4ebf0159ac07c915dd609cd6b3 (patch) | |
tree | c5933db0dda82de92d9f595c32661f7d74e31c4b /src/bin/psql/command.c | |
parent | 71d0cabecdb4d704b9a7bbed5ef11e1e59fb26de (diff) |
\pset numericsep -> numericlocale.
Diffstat (limited to 'src/bin/psql/command.c')
-rw-r--r-- | src/bin/psql/command.c | 14 |
1 files changed, 7 insertions, 7 deletions
diff --git a/src/bin/psql/command.c b/src/bin/psql/command.c index 0c4db123db5..6e5730e4436 100644 --- a/src/bin/psql/command.c +++ b/src/bin/psql/command.c @@ -3,7 +3,7 @@ * * Copyright (c) 2000-2005, PostgreSQL Global Development Group * - * $PostgreSQL: pgsql/src/bin/psql/command.c,v 1.149 2005/07/14 08:42:37 momjian Exp $ + * $PostgreSQL: pgsql/src/bin/psql/command.c,v 1.150 2005/07/18 20:57:53 momjian Exp $ */ #include "postgres_fe.h" #include "command.h" @@ -1420,16 +1420,16 @@ do_pset(const char *param, const char *value, printQueryOpt *popt, bool quiet) : _("Expanded display is off.\n")); } - /* numeric separators */ - else if (strcmp(param, "numericsep") == 0) + /* locale-aware numeric output */ + else if (strcmp(param, "numericlocale") == 0) { - popt->topt.numericSep = !popt->topt.numericSep; + popt->topt.numericLocale = !popt->topt.numericLocale; if (!quiet) { - if (popt->topt.numericSep) - puts(_("Showing numeric separators.")); + if (popt->topt.numericLocale) + puts(_("Showing locale-adjusted numeric output.")); else - puts(_("Numeric separators are off.")); + puts(_("Locale-adjusted numeric output is off.")); } } |