1
0
mirror of https://github.com/postgres/postgres.git synced 2025-11-21 00:42:43 +03:00

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.
This commit is contained in:
Peter Eisentraut
2008-12-11 07:34:09 +00:00
parent 55368223cd
commit 218b4e8dd8
39 changed files with 125 additions and 78 deletions

View File

@@ -13,7 +13,7 @@
*
*
* IDENTIFICATION
* $PostgreSQL: pgsql/src/backend/main/main.c,v 1.110 2008/01/01 19:45:49 momjian Exp $
* $PostgreSQL: pgsql/src/backend/main/main.c,v 1.111 2008/12/11 07:34:07 petere Exp $
*
*-------------------------------------------------------------------------
*/
@@ -87,7 +87,7 @@ main(int argc, char *argv[])
* error messages to be localized.
*/
set_pglocale_pgservice(argv[0], "postgres");
set_pglocale_pgservice(argv[0], PG_TEXTDOMAIN("postgres"));
#ifdef WIN32