]> granicus.if.org Git - postgresql/commit
Add PGETC (for pg_service.conf) and PGLOCALE (for locale dir)
authorBruce Momjian <bruce@momjian.us>
Thu, 3 Jun 2004 00:07:38 +0000 (00:07 +0000)
committerBruce Momjian <bruce@momjian.us>
Thu, 3 Jun 2004 00:07:38 +0000 (00:07 +0000)
commit687084333977dfc4318c470b405c55babd056710
tree7d9155832550182368a492915bbf4552352e4f58
parent70f5a87ecc4cfa8810fb27ad55fa4904dcb40a6a
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.
22 files changed:
doc/src/sgml/libpq.sgml
src/backend/main/main.c
src/bin/initdb/initdb.c
src/bin/pg_controldata/pg_controldata.c
src/bin/pg_ctl/pg_ctl.c
src/bin/pg_dump/pg_dump.c
src/bin/pg_dump/pg_dumpall.c
src/bin/pg_dump/pg_restore.c
src/bin/pg_resetxlog/pg_resetxlog.c
src/bin/psql/startup.c
src/bin/scripts/clusterdb.c
src/bin/scripts/createdb.c
src/bin/scripts/createlang.c
src/bin/scripts/createuser.c
src/bin/scripts/dropdb.c
src/bin/scripts/droplang.c
src/bin/scripts/dropuser.c
src/bin/scripts/vacuumdb.c
src/include/port.h
src/interfaces/libpq/fe-connect.c
src/interfaces/libpq/fe-misc.c
src/port/path.c