aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/bin/psql/command.c2
-rw-r--r--src/bin/psql/common.c6
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;
}