diff options
author | Peter Eisentraut <peter@eisentraut.org> | 2018-12-29 12:50:59 +0100 |
---|---|---|
committer | Peter Eisentraut <peter@eisentraut.org> | 2018-12-29 12:50:59 +0100 |
commit | e3299d36a938c7af386b240f318c7b9e55bdc92d (patch) | |
tree | 777a3ab3963ecb7acccc91817234f577afc312bc /src | |
parent | 0a5a493f042b30afe350763820dc79bb3e6df91a (diff) | |
download | postgresql-e3299d36a938c7af386b240f318c7b9e55bdc92d.tar.gz postgresql-e3299d36a938c7af386b240f318c7b9e55bdc92d.zip |
Remove redundant translation markers
psql_error() already handles that itself.
Diffstat (limited to 'src')
-rw-r--r-- | src/bin/psql/command.c | 2 | ||||
-rw-r--r-- | src/bin/psql/common.c | 6 |
2 files changed, 4 insertions, 4 deletions
diff --git a/src/bin/psql/command.c b/src/bin/psql/command.c index 55315fe43b6..1cf976869ce 100644 --- 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 62c2928e6bb..8af16a5fb4e 100644 --- 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; } |