mirror of
https://github.com/postgres/postgres.git
synced 2025-06-13 07:41:39 +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:
@ -8,7 +8,7 @@
|
||||
*
|
||||
*
|
||||
* IDENTIFICATION
|
||||
* $PostgreSQL: pgsql/src/backend/utils/init/miscinit.c,v 1.168 2008/10/09 17:24:05 alvherre Exp $
|
||||
* $PostgreSQL: pgsql/src/backend/utils/init/miscinit.c,v 1.169 2008/12/11 07:34:07 petere Exp $
|
||||
*
|
||||
*-------------------------------------------------------------------------
|
||||
*/
|
||||
@ -1214,7 +1214,7 @@ process_local_preload_libraries(void)
|
||||
}
|
||||
|
||||
void
|
||||
set_text_domain(const char *domain)
|
||||
pg_bindtextdomain(const char *domain)
|
||||
{
|
||||
#ifdef ENABLE_NLS
|
||||
if (my_exec_path[0] != '\0')
|
||||
|
Reference in New Issue
Block a user