mirror of
https://github.com/postgres/postgres.git
synced 2025-07-30 11:03:19 +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:
@ -1,4 +1,4 @@
|
||||
/* $PostgreSQL: pgsql/src/interfaces/ecpg/preproc/ecpg.c,v 1.105 2008/05/16 15:20:04 petere Exp $ */
|
||||
/* $PostgreSQL: pgsql/src/interfaces/ecpg/preproc/ecpg.c,v 1.106 2008/12/11 07:34:09 petere Exp $ */
|
||||
|
||||
/* New main for ecpg, the PostgreSQL embedded SQL precompiler. */
|
||||
/* (C) Michael Meskes <meskes@postgresql.org> Feb 5th, 1998 */
|
||||
@ -138,7 +138,7 @@ main(int argc, char *const argv[])
|
||||
char my_exec_path[MAXPGPATH];
|
||||
char include_path[MAXPGPATH];
|
||||
|
||||
set_pglocale_pgservice(argv[0], "ecpg");
|
||||
set_pglocale_pgservice(argv[0], PG_TEXTDOMAIN("ecpg"));
|
||||
|
||||
progname = get_progname(argv[0]);
|
||||
|
||||
|
Reference in New Issue
Block a user