Skip to content

Commit 213c959

Browse files
committed
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.
1 parent 2466d66 commit 213c959

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/include/libpq/libpq-be-fe-helpers.h

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -390,7 +390,7 @@ libpqsrv_cancel(PGconn *conn, TimestampTz endtime)
390390

391391
cancel_conn = PQcancelCreate(conn);
392392
if (cancel_conn == NULL)
393-
return _("out of memory");
393+
return "out of memory";
394394

395395
/* In what follows, do not leak any PGcancelConn on any errors. */
396396

@@ -418,7 +418,7 @@ libpqsrv_cancel(PGconn *conn, TimestampTz endtime)
418418
cur_timeout = TimestampDifferenceMilliseconds(now, endtime);
419419
if (cur_timeout <= 0)
420420
{
421-
error = _("cancel request timed out");
421+
error = "cancel request timed out";
422422
break;
423423
}
424424

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