psql: Message style improvements

This commit is contained in:
Peter Eisentraut 2016-05-21 22:17:00 -04:00
parent 768d6f90f9
commit a50b605aa4
2 changed files with 4 additions and 4 deletions

View File

@ -854,7 +854,7 @@ exec_command(const char *cmd,
puts(_("out of memory"));
}
else
puts(_("There was no previous error."));
puts(_("There is no previous error."));
}
/* \f -- change field separator */
@ -3363,7 +3363,7 @@ get_create_object_cmd(EditableObjectType obj_type, Oid oid,
appendPQExpBufferStr(buf, "CREATE OR REPLACE VIEW ");
break;
default:
psql_error("%s.%s is not a view\n",
psql_error("\"%s.%s\" is not a view\n",
nspname, relname);
result = false;
break;
@ -3379,7 +3379,7 @@ get_create_object_cmd(EditableObjectType obj_type, Oid oid,
pset.encoding,
standard_strings()))
{
psql_error("Could not parse reloptions array\n");
psql_error("could not parse reloptions array\n");
result = false;
}
appendPQExpBufferStr(buf, ")");

View File

@ -134,7 +134,7 @@ psql_get_variable(const char *varname, bool escape, bool as_ident)
if (!pset.db)
{
psql_error("can't escape without active connection\n");
psql_error("cannot escape without active connection\n");
return NULL;
}