diff options
| author | Bruce Momjian <bruce@momjian.us> | 2004-06-03 00:07:38 +0000 |
|---|---|---|
| committer | Bruce Momjian <bruce@momjian.us> | 2004-06-03 00:07:38 +0000 |
| commit | 687084333977dfc4318c470b405c55babd056710 (patch) | |
| tree | 7d9155832550182368a492915bbf4552352e4f58 /src/backend/main | |
| parent | 70f5a87ecc4cfa8810fb27ad55fa4904dcb40a6a (diff) | |
| download | postgresql-687084333977dfc4318c470b405c55babd056710.tar.gz | |
Add PGETC (for pg_service.conf) and PGLOCALE (for locale dir)
environment variable processing to libpq.
The patch also adds code to our client apps so we set the environment
variable directly based on our binary location, unless it is already
set. This will allow our applications to emit proper locale messages
that are generated in libpq.
Diffstat (limited to 'src/backend/main')
| -rw-r--r-- | src/backend/main/main.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/backend/main/main.c b/src/backend/main/main.c index aee2da0731..c9c377e1e9 100644 --- a/src/backend/main/main.c +++ b/src/backend/main/main.c @@ -13,7 +13,7 @@ * * * IDENTIFICATION - * $PostgreSQL: pgsql/src/backend/main/main.c,v 1.85 2004/05/29 22:48:19 tgl Exp $ + * $PostgreSQL: pgsql/src/backend/main/main.c,v 1.86 2004/06/03 00:07:36 momjian Exp $ * *------------------------------------------------------------------------- */ @@ -152,7 +152,7 @@ main(int argc, char *argv[]) * allow startup error messages to be localized. */ - set_pglocale(argv[0], "postgres"); + set_pglocale_pgservice(argv[0], "postgres"); #ifdef WIN32 |
