diff options
author | Peter Eisentraut <peter_e@gmx.net> | 2008-12-11 07:34:09 +0000 |
---|---|---|
committer | Peter Eisentraut <peter_e@gmx.net> | 2008-12-11 07:34:09 +0000 |
commit | 218b4e8dd86016f82c3a71dec9d339240e866505 (patch) | |
tree | 1406076a9d31827ee9de1b04e16f4637d3fc186e /src/bin/scripts/reindexdb.c | |
parent | 55368223cde4f19b4cd97eff7ea82b4a85a7a04c (diff) | |
download | postgresql-218b4e8dd86016f82c3a71dec9d339240e866505.tar.gz postgresql-218b4e8dd86016f82c3a71dec9d339240e866505.zip |
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/bin/scripts/reindexdb.c')
-rw-r--r-- | src/bin/scripts/reindexdb.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/bin/scripts/reindexdb.c b/src/bin/scripts/reindexdb.c index f94a964179a..5fdfd6b91cc 100644 --- a/src/bin/scripts/reindexdb.c +++ b/src/bin/scripts/reindexdb.c @@ -4,7 +4,7 @@ * * Portions Copyright (c) 1996-2008, PostgreSQL Global Development Group * - * $PostgreSQL: pgsql/src/bin/scripts/reindexdb.c,v 1.13 2008/01/01 19:45:56 momjian Exp $ + * $PostgreSQL: pgsql/src/bin/scripts/reindexdb.c,v 1.14 2008/12/11 07:34:08 petere Exp $ * *------------------------------------------------------------------------- */ @@ -64,7 +64,7 @@ main(int argc, char *argv[]) const char *index = NULL; progname = get_progname(argv[0]); - set_pglocale_pgservice(argv[0], "pgscripts"); + set_pglocale_pgservice(argv[0], PG_TEXTDOMAIN("pgscripts")); handle_help_version_opts(argc, argv, "reindexdb", help); |