Skip to content

Commit a50b605

Browse files
committed
psql: Message style improvements
1 parent 768d6f9 commit a50b605

File tree

2 files changed

+4
-4
lines changed

2 files changed

+4
-4
lines changed

src/bin/psql/command.c

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -854,7 +854,7 @@ exec_command(const char *cmd,
854854
puts(_("out of memory"));
855855
}
856856
else
857-
puts(_("There was no previous error."));
857+
puts(_("There is no previous error."));
858858
}
859859

860860
/* \f -- change field separator */
@@ -3363,7 +3363,7 @@ get_create_object_cmd(EditableObjectType obj_type, Oid oid,
33633363
appendPQExpBufferStr(buf, "CREATE OR REPLACE VIEW ");
33643364
break;
33653365
default:
3366-
psql_error("%s.%s is not a view\n",
3366+
psql_error("\"%s.%s\" is not a view\n",
33673367
nspname, relname);
33683368
result = false;
33693369
break;
@@ -3379,7 +3379,7 @@ get_create_object_cmd(EditableObjectType obj_type, Oid oid,
33793379
pset.encoding,
33803380
standard_strings()))
33813381
{
3382-
psql_error("Could not parse reloptions array\n");
3382+
psql_error("could not parse reloptions array\n");
33833383
result = false;
33843384
}
33853385
appendPQExpBufferStr(buf, ")");

src/bin/psql/common.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -134,7 +134,7 @@ psql_get_variable(const char *varname, bool escape, bool as_ident)
134134

135135
if (!pset.db)
136136
{
137-
psql_error("can't escape without active connection\n");
137+
psql_error("cannot escape without active connection\n");
138138
return NULL;
139139
}
140140

0 commit comments

Comments
 (0)
pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy