diff options
| author | Bruce Momjian <bruce@momjian.us> | 2004-05-25 01:00:30 +0000 |
|---|---|---|
| committer | Bruce Momjian <bruce@momjian.us> | 2004-05-25 01:00:30 +0000 |
| commit | 228897774c08012ee280e5110856d908a6047697 (patch) | |
| tree | 9121ddcf98b32bc4cf4e03bbe28da78f0ef176a7 /src/bin/pg_dump/pg_dumpall.c | |
| parent | 244ee0c0f2b87656f7d1eefca7f46fc61c877fd2 (diff) | |
| download | postgresql-228897774c08012ee280e5110856d908a6047697.tar.gz | |
Make the locale location relocatable.
Adjust get_*_path functions to be limited to MAXPGPATH.
Diffstat (limited to 'src/bin/pg_dump/pg_dumpall.c')
| -rw-r--r-- | src/bin/pg_dump/pg_dumpall.c | 8 |
1 files changed, 2 insertions, 6 deletions
diff --git a/src/bin/pg_dump/pg_dumpall.c b/src/bin/pg_dump/pg_dumpall.c index 55d52bd778..872416b64f 100644 --- a/src/bin/pg_dump/pg_dumpall.c +++ b/src/bin/pg_dump/pg_dumpall.c @@ -6,7 +6,7 @@ * Portions Copyright (c) 1994, Regents of the University of California * * - * $PostgreSQL: pgsql/src/bin/pg_dump/pg_dumpall.c,v 1.34 2004/05/19 21:21:26 momjian Exp $ + * $PostgreSQL: pgsql/src/bin/pg_dump/pg_dumpall.c,v 1.35 2004/05/25 01:00:24 momjian Exp $ * *------------------------------------------------------------------------- */ @@ -101,11 +101,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"); progname = get_progname(argv[0]); |
