Commit a50b605a authored by Peter Eisentraut's avatar Peter Eisentraut

psql: Message style improvements

parent 768d6f90
...@@ -854,7 +854,7 @@ exec_command(const char *cmd, ...@@ -854,7 +854,7 @@ exec_command(const char *cmd,
puts(_("out of memory")); puts(_("out of memory"));
} }
else else
puts(_("There was no previous error.")); puts(_("There is no previous error."));
} }
/* \f -- change field separator */ /* \f -- change field separator */
...@@ -3363,7 +3363,7 @@ get_create_object_cmd(EditableObjectType obj_type, Oid oid, ...@@ -3363,7 +3363,7 @@ get_create_object_cmd(EditableObjectType obj_type, Oid oid,
appendPQExpBufferStr(buf, "CREATE OR REPLACE VIEW "); appendPQExpBufferStr(buf, "CREATE OR REPLACE VIEW ");
break; break;
default: default:
psql_error("%s.%s is not a view\n", psql_error("\"%s.%s\" is not a view\n",
nspname, relname); nspname, relname);
result = false; result = false;
break; break;
...@@ -3379,7 +3379,7 @@ get_create_object_cmd(EditableObjectType obj_type, Oid oid, ...@@ -3379,7 +3379,7 @@ get_create_object_cmd(EditableObjectType obj_type, Oid oid,
pset.encoding, pset.encoding,
standard_strings())) standard_strings()))
{ {
psql_error("Could not parse reloptions array\n"); psql_error("could not parse reloptions array\n");
result = false; result = false;
} }
appendPQExpBufferStr(buf, ")"); appendPQExpBufferStr(buf, ")");
......
...@@ -134,7 +134,7 @@ psql_get_variable(const char *varname, bool escape, bool as_ident) ...@@ -134,7 +134,7 @@ psql_get_variable(const char *varname, bool escape, bool as_ident)
if (!pset.db) if (!pset.db)
{ {
psql_error("can't escape without active connection\n"); psql_error("cannot escape without active connection\n");
return NULL; return NULL;
} }
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment