From e3299d36a938c7af386b240f318c7b9e55bdc92d Mon Sep 17 00:00:00 2001 From: Peter Eisentraut Date: Sat, 29 Dec 2018 12:50:59 +0100 Subject: [PATCH] Remove redundant translation markers psql_error() already handles that itself. --- src/bin/psql/command.c | 2 +- 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 55315fe43b..1cf976869c 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 62c2928e6b..8af16a5fb4 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; }