summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAlvaro Herrera2024-03-28 12:12:12 +0000
committerAlvaro Herrera2024-03-28 12:12:12 +0000
commit213c959a294d56445bfe79d7f28a9b1f8a928746 (patch)
tree7dce79f88ccb9a48d92b04db23f5b442a5749558
parent2466d6654f85d7ec136d09d52ae22771452a19df (diff)
Remove translation markers from libpq-be-fe-helpers.h
Apparently these markers cause the modules to not link correctly in some platforms, at least per buildfarm member indri; moreover, this code is only used in modules that don't have a translation. If we someday add i18n support to contrib/ it might be worth revisiting this.
-rw-r--r--src/include/libpq/libpq-be-fe-helpers.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/include/libpq/libpq-be-fe-helpers.h b/src/include/libpq/libpq-be-fe-helpers.h
index 2adf92030af..8be9aa1f2f9 100644
--- a/src/include/libpq/libpq-be-fe-helpers.h
+++ b/src/include/libpq/libpq-be-fe-helpers.h
@@ -390,7 +390,7 @@ libpqsrv_cancel(PGconn *conn, TimestampTz endtime)
cancel_conn = PQcancelCreate(conn);
if (cancel_conn == NULL)
- return _("out of memory");
+ return "out of memory";
/* In what follows, do not leak any PGcancelConn on any errors. */
@@ -418,7 +418,7 @@ libpqsrv_cancel(PGconn *conn, TimestampTz endtime)
cur_timeout = TimestampDifferenceMilliseconds(now, endtime);
if (cur_timeout <= 0)
{
- error = _("cancel request timed out");
+ error = "cancel request timed out";
break;
}