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.
This commit is contained in:
Alvaro Herrera 2024-03-28 13:12:12 +01:00
parent 2466d6654f
commit 213c959a29
No known key found for this signature in database
GPG Key ID: 1C20ACB9D5C564AE
1 changed files with 2 additions and 2 deletions

View File

@ -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;
}