1
0
mirror of https://github.com/postgres/postgres.git synced 2025-09-02 04:21:28 +03:00

Make the locale location relocatable.

Adjust get_*_path functions to be limited to MAXPGPATH.
This commit is contained in:
Bruce Momjian
2004-05-25 01:00:30 +00:00
parent 244ee0c0f2
commit 228897774c
26 changed files with 158 additions and 122 deletions

View File

@@ -12,7 +12,7 @@
* by PostgreSQL
*
* IDENTIFICATION
* $PostgreSQL: pgsql/src/bin/pg_dump/pg_dump.c,v 1.370 2004/03/24 03:06:08 momjian Exp $
* $PostgreSQL: pgsql/src/bin/pg_dump/pg_dump.c,v 1.371 2004/05/25 01:00:24 momjian Exp $
*
*-------------------------------------------------------------------------
*/
@@ -242,11 +242,7 @@ main(int argc, char **argv)
};
int optindex;
#ifdef ENABLE_NLS
setlocale(LC_ALL, "");
bindtextdomain("pg_dump", LOCALEDIR);
textdomain("pg_dump");
#endif
set_pglocale(argv[0], "pg_dump");
g_verbose = false;