diff options
| author | Tom Lane | 2011-08-26 14:41:31 +0000 |
|---|---|---|
| committer | Tom Lane | 2011-08-26 17:53:09 +0000 |
| commit | e86fdb0ab224eaa73d907ab16a2dd0e0058699e0 (patch) | |
| tree | 19bed12afd338f89ab119dbf830114e60ca75f11 /src/bin/psql/command.c | |
| parent | 910725b49ddf5c827658717f458fb14d0044f251 (diff) | |
Support non-ASCII letters in psql variable names.
As in the backend, the implementation actually accepts any non-ASCII
character, but we only document that you can use letters.
Diffstat (limited to 'src/bin/psql/command.c')
| -rw-r--r-- | src/bin/psql/command.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/bin/psql/command.c b/src/bin/psql/command.c index d6a925e435b..6d9cd6492f6 100644 --- a/src/bin/psql/command.c +++ b/src/bin/psql/command.c @@ -995,7 +995,7 @@ exec_command(const char *cmd, if (!SetVariable(pset.vars, opt, result)) { - psql_error("\\%s: error\n", cmd); + psql_error("\\%s: error while setting variable\n", cmd); success = false; } @@ -1096,7 +1096,7 @@ exec_command(const char *cmd, if (!SetVariable(pset.vars, opt0, newval)) { - psql_error("\\%s: error\n", cmd); + psql_error("\\%s: error while setting variable\n", cmd); success = false; } free(newval); @@ -1272,7 +1272,7 @@ exec_command(const char *cmd, } else if (!SetVariable(pset.vars, opt, NULL)) { - psql_error("\\%s: error\n", cmd); + psql_error("\\%s: error while setting variable\n", cmd); success = false; } free(opt); |
