Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commita50b605

Browse files
committed
psql: Message style improvements
1 parent768d6f9 commita50b605

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(_("Therewas no previous error."));
857+
puts(_("Thereis 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
returnNULL;
139139
}
140140

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp