mirror of
https://github.com/postgres/postgres.git
synced 2025-07-28 23:42:10 +03:00
Make the locale location relocatable.
Adjust get_*_path functions to be limited to MAXPGPATH.
This commit is contained in:
@ -23,7 +23,7 @@
|
||||
* Portions Copyright (c) 1994, Regents of the University of California
|
||||
*
|
||||
* IDENTIFICATION
|
||||
* $PostgreSQL: pgsql/src/interfaces/libpq/fe-misc.c,v 1.105 2004/03/15 10:41:26 ishii Exp $
|
||||
* $PostgreSQL: pgsql/src/interfaces/libpq/fe-misc.c,v 1.106 2004/05/25 01:00:29 momjian Exp $
|
||||
*
|
||||
*-------------------------------------------------------------------------
|
||||
*/
|
||||
@ -1131,6 +1131,7 @@ libpq_gettext(const char *msgid)
|
||||
if (!already_bound)
|
||||
{
|
||||
already_bound = 1;
|
||||
/* No relocatable lookup here because the binary could be anywhere */
|
||||
bindtextdomain("libpq", LOCALEDIR);
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user