diff options
| author | Bruce Momjian | 2004-06-03 00:07:38 +0000 |
|---|---|---|
| committer | Bruce Momjian | 2004-06-03 00:07:38 +0000 |
| commit | 687084333977dfc4318c470b405c55babd056710 (patch) | |
| tree | 7d9155832550182368a492915bbf4552352e4f58 /src/include | |
| parent | 70f5a87ecc4cfa8810fb27ad55fa4904dcb40a6a (diff) | |
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/include')
| -rw-r--r-- | src/include/port.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/include/port.h b/src/include/port.h index 907fb20a43b..7ee0a138cd9 100644 --- a/src/include/port.h +++ b/src/include/port.h @@ -6,7 +6,7 @@ * Portions Copyright (c) 1996-2003, PostgreSQL Global Development Group * Portions Copyright (c) 1994, Regents of the University of California * - * $PostgreSQL: pgsql/src/include/port.h,v 1.39 2004/05/27 14:39:32 momjian Exp $ + * $PostgreSQL: pgsql/src/include/port.h,v 1.40 2004/06/03 00:07:38 momjian Exp $ * *------------------------------------------------------------------------- */ @@ -32,7 +32,7 @@ extern void get_include_path(const char *my_exec_path, char *ret_path); extern void get_pkginclude_path(const char *my_exec_path, char *ret_path); extern void get_pkglib_path(const char *my_exec_path, char *ret_path); extern void get_locale_path(const char *my_exec_path, char *ret_path); -extern void set_pglocale(const char *argv0, const char *app); +extern void set_pglocale_pgservice(const char *argv0, const char *app); /* * is_absolute_path |
