Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

Commit 213c959

Browse filesBrowse 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
Copy full SHA for 213c959

File tree

Expand file treeCollapse file tree

1 file changed

+2
-2
lines changed
Filter options
Expand file treeCollapse file tree

1 file changed

+2
-2
lines changed

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

Copy file name to clipboardExpand all lines: src/include/libpq/libpq-be-fe-helpers.h
+2-2Lines 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 (0)
Morty Proxy This is a proxified and sanitized view of the page, visit original site.