From 687084333977dfc4318c470b405c55babd056710 Mon Sep 17 00:00:00 2001 From: Bruce Momjian Date: Thu, 3 Jun 2004 00:07:38 +0000 Subject: 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. --- doc/src/sgml/libpq.sgml | 20 +++++++++++++++++++- 1 file changed, 19 insertions(+), 1 deletion(-) (limited to 'doc/src') diff --git a/doc/src/sgml/libpq.sgml b/doc/src/sgml/libpq.sgml index 2eaa4da341b..be669715c08 100644 --- a/doc/src/sgml/libpq.sgml +++ b/doc/src/sgml/libpq.sgml @@ -1,5 +1,5 @@ @@ -3582,6 +3582,24 @@ sets the default mode for the genetic query optimizer. (Equivalent to SET geqo TO ....) + + + + PGETC + +PGETC +sets the directory containing the pg_service.conf file. + + + + + + PGLOCALE + +PGLOCALE +sets the directory containing the locale files. + + Refer to the SQL command SET -- cgit v1.2.3