From e86fdb0ab224eaa73d907ab16a2dd0e0058699e0 Mon Sep 17 00:00:00 2001 From: Tom Lane Date: Fri, 26 Aug 2011 10:41:31 -0400 Subject: 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. --- src/bin/psql/command.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'src/bin/psql/command.c') 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); -- cgit v1.2.3