summaryrefslogtreecommitdiff
path: root/src/port/exec.c
diff options
context:
space:
mode:
authorPeter Eisentraut2008-12-11 07:34:09 +0000
committerPeter Eisentraut2008-12-11 07:34:09 +0000
commit218b4e8dd86016f82c3a71dec9d339240e866505 (patch)
tree1406076a9d31827ee9de1b04e16f4637d3fc186e /src/port/exec.c
parent55368223cde4f19b4cd97eff7ea82b4a85a7a04c (diff)
Append major version number and for libraries soname major version number
to the gettext domain name, to simplify parallel installations. Also, rename set_text_domain() to pg_bindtextdomain(), because that is what it does.
Diffstat (limited to 'src/port/exec.c')
-rw-r--r--src/port/exec.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/port/exec.c b/src/port/exec.c
index ce0a7017947..6b917857ac6 100644
--- a/src/port/exec.c
+++ b/src/port/exec.c
@@ -9,7 +9,7 @@
*
*
* IDENTIFICATION
- * $PostgreSQL: pgsql/src/port/exec.c,v 1.60 2008/04/16 22:16:00 adunstan Exp $
+ * $PostgreSQL: pgsql/src/port/exec.c,v 1.61 2008/12/11 07:34:09 petere Exp $
*
*-------------------------------------------------------------------------
*/
@@ -630,7 +630,7 @@ set_pglocale_pgservice(const char *argv0, const char *app)
* PGLOCALEDIR */
/* don't set LC_ALL in the backend */
- if (strcmp(app, "postgres") != 0)
+ if (strcmp(app, PG_TEXTDOMAIN("postgres")) != 0)
setlocale(LC_ALL, "");
if (find_my_exec(argv0, my_exec_path) < 0)