Re: alternative DB locations

From: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
To: Jeff Hoffmann <jeff(at)propertykey(dot)com>
Cc: pgsql-general(at)postgresql(dot)org, lockhart(at)alumni(dot)caltech(dot)edu
Subject: Re: alternative DB locations
Date: 2000-10-03 15:11:54
Message-ID: 17780.970585914@sss.pgh.pa.us
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general

Jeff Hoffmann <jeff(at)propertykey(dot)com> writes:
> not to be pedantic, but just to make sure, i looked in the 7.0 docs and
> it says it plain as day on the "alternate locations" section from the
> admin guide, second paragraph "This
> environment variable must have been defined before the backend was
> started" this is an incredibly common question for being spelled out
> that directly in the documentation. this statement should probably be
> bold or italic or otherwise emphasized,

Actually, first it should be *corrected*. It should say "... defined
before the POSTMASTER is started". Or even more directly, "... supplied
in the postmaster's environment variable set".

As is, it can reasonably be read that you just have to define the variable
in your own environment before starting a psql session (which starts a
backend of course).

The critical distinction that people aren't making is between their
client environment and the postmaster/backend environment, and the
existing text doesn't seem to help them.

regards, tom lane

In response to

Responses

Browse pgsql-general by date

  From Date Subject
Next Message Tom Lane 2000-10-03 15:37:34 Re: trouble with trigger/function???
Previous Message Kendall Koning 2000-10-03 14:46:23 Index problem?