git.postgresql.org Git - postgresql.git/commitdiff

git projects / postgresql.git / commitdiff
? search:
summary | shortlog | log | commit | commitdiff | tree
raw | patch | inline | side by side (parent: 0a5a493)
Remove redundant translation markers
2018年12月29日 11:50:59 +0000 (12:50 +0100)
2018年12月29日 11:50:59 +0000 (12:50 +0100)
psql_error() already handles that itself.


diff --git a/src/bin/psql/command.c b/src/bin/psql/command.c
index 55315fe43b64192495ac6f62d7d14ded807f4f43..1cf976869cec95b7bf090d7c8f6151a0b39b5d85 100644 (file)
--- a/src/bin/psql/command.c
+++ b/src/bin/psql/command.c
@@ -4357,7 +4357,7 @@ do_watch(PQExpBuffer query_buf, double sleep)
if (!query_buf || query_buf->len <= 0)
{
- psql_error(_("\\watch cannot be used with an empty query\n"));
+ psql_error("\\watch cannot be used with an empty query\n");
return false;
}
diff --git a/src/bin/psql/common.c b/src/bin/psql/common.c
index 62c2928e6bbcdc83cfcfc4644cd786c54c92aeee..8af16a5fb4e764adfd5e723888e0d31ffb33429d 100644 (file)
--- a/src/bin/psql/common.c
+++ b/src/bin/psql/common.c
@@ -799,19 +799,19 @@ PSQLexecWatch(const char *query, const printQueryOpt *opt)
break;
case PGRES_EMPTY_QUERY:
- psql_error(_("\\watch cannot be used with an empty query\n"));
+ psql_error("\\watch cannot be used with an empty query\n");
PQclear(res);
return -1;
case PGRES_COPY_OUT:
case PGRES_COPY_IN:
case PGRES_COPY_BOTH:
- psql_error(_("\\watch cannot be used with COPY\n"));
+ psql_error("\\watch cannot be used with COPY\n");
PQclear(res);
return -1;
default:
- psql_error(_("unexpected result status for \\watch\n"));
+ psql_error("unexpected result status for \\watch\n");
PQclear(res);
return -1;
}
This is the main PostgreSQL git repository.
RSS Atom

AltStyle によって変換されたページ (->オリジナル) /