Skip to content

Commit e3299d3

Browse files
committed
Remove redundant translation markers
psql_error() already handles that itself.
1 parent 0a5a493 commit e3299d3

File tree

2 files changed

+4
-4
lines changed

2 files changed

+4
-4
lines changed

src/bin/psql/command.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4357,7 +4357,7 @@ do_watch(PQExpBuffer query_buf, double sleep)
43574357

43584358
if (!query_buf || query_buf->len <= 0)
43594359
{
4360-
psql_error(_("\\watch cannot be used with an empty query\n"));
4360+
psql_error("\\watch cannot be used with an empty query\n");
43614361
return false;
43624362
}
43634363

src/bin/psql/common.c

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -799,19 +799,19 @@ PSQLexecWatch(const char *query, const printQueryOpt *opt)
799799
break;
800800

801801
case PGRES_EMPTY_QUERY:
802-
psql_error(_("\\watch cannot be used with an empty query\n"));
802+
psql_error("\\watch cannot be used with an empty query\n");
803803
PQclear(res);
804804
return -1;
805805

806806
case PGRES_COPY_OUT:
807807
case PGRES_COPY_IN:
808808
case PGRES_COPY_BOTH:
809-
psql_error(_("\\watch cannot be used with COPY\n"));
809+
psql_error("\\watch cannot be used with COPY\n");
810810
PQclear(res);
811811
return -1;
812812

813813
default:
814-
psql_error(_("unexpected result status for \\watch\n"));
814+
psql_error("unexpected result status for \\watch\n");
815815
PQclear(res);
816816
return -1;
817817
}

0 commit comments

Comments
 (0)
pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy