pg.ddx.io  pgsql-sql@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Michael Fuhr <mike@fuhr.org>
To: Tom Lane <tgl@sss.pgh.pa.us>
Cc: Mark Fenbers <Mark.Fenbers@noaa.gov>
Cc: PostgreSQL - SQL <pgsql-sql@postgresql.org>
Subject: Re: Change date format through an environmental variable?
Date: Thu, 2 Mar 2006 00:33:31 -0700
Message-ID: <20060302073331.GA87268@winnie.fuhr.org> (raw)
In-Reply-To: <22254.1141280207@sss.pgh.pa.us>
References: <4405DAAA.4010908@noaa.gov>
	<4405F419.5080306@noaa.gov>
	<20060301194213.GA82162@winnie.fuhr.org>
	<22254.1141280207@sss.pgh.pa.us>

On Thu, Mar 02, 2006 at 01:16:47AM -0500, Tom Lane wrote:
> Michael Fuhr <mike@fuhr.org> writes:
> > The libpq documentation has a list of environment variables, although
> > it's not complete:
> > http://www.postgresql.org/docs/8.1/interactive/libpq-envars.html
> 
> Er, what's not complete about it?  Feel free to send a doc patch ...

Missing from that page are mostly standard variables that aren't
specific to PostgreSQL but that applications like psql might use.
Documented elsewhere are:

EDITOR		(psql)
PAGER		(psql)
PGDATA		(various)
PSQL_EDITOR	(psql)
SHELL		(psql)
TMPDIR		(psql)
TZ		(postmaster)
VISUAL		(psql)

I see LC_COLLATE and LC_CTYPE in a few places but not in the
documentation for postgres/postmaster, which is where they appear
to be used (backend/main/main.c).  Should those pages mention them?

A couple of variables are used in the code but aren't mentioned in
the documentation.  Are they worth documenting?

COMSPEC		(psql, Win32 only)
PG_DBPATH	(ecpg, Informix mode)

-- 
Michael Fuhr



view thread (10+ messages)  latest in thread

Message-ID: <20060302073331.GA87268@winnie.fuhr.org>
Permalink:  ../20060302073331.GA87268@winnie.fuhr.org/
Also on:    postgresql.org/message-id/20060302073331.GA87268@winnie.fuhr.org

 · 

reply

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Reply to all the recipients using the --to and --cc options:
  reply via email

  To: pgsql-sql@postgresql.org
  Cc: mike@fuhr.org, tgl@sss.pgh.pa.us, Mark.Fenbers@noaa.gov
  Subject: Re: Change date format through an environmental variable?
  In-Reply-To: <20060302073331.GA87268@winnie.fuhr.org>

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox