Location via proxy:   [ UP ]  
[Report a bug]   [Manage cookies]                
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

+2-2
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)