From: Peter Eisentraut <peter_e@gmx.net>
To: Tom Lane <tgl@sss.pgh.pa.us>
Cc: Christopher Sawtell <csawtell@xtra.co.nz>
Cc: pgsql-sql@postgreSQL.org <pgsql-sql@postgresql.org>
Subject: Re: Counting distinct names
Date: Sat, 22 Apr 2000 00:06:26 +0200 (CEST)
Message-ID: <Pine.LNX.4.21.0004211909460.351-100000@localhost.localdomain> (raw)
In-Reply-To: <1781.956239464@sss.pgh.pa.us>
Tom Lane writes:
> *Should* there be a default location established by configure?
Not IMO. Firstly (broken record time), configure should not be used to set
run-time options period. (And there's a single good reason for that: when
users build a package they won't know what options they need later on. I
get really annoyed at packages that do that.) Secondly, this will lead to
all kinds of funny problem reports because everyone will have a different
default. Worse yet, people might not even know what their default is
because they use a binary package. I think the current setup is the
cleanest by far because it emphasizes the independence of the data storage
location and the fact that multiple locations are equally valid.
> I think I'd prefer that to having the dependence on an environment var
Environment variables are a common way of pointing programs to their data.
Personally, I rarely bother with it and start the postmaster with -D
instead, then I know what I'm getting. I suppose there's no reason that
users couldn't do the same. The environment variable is only wildly useful
if people start and stop the server all the time.
--
Peter Eisentraut Sernanders väg 10:115
peter_e@gmx.net 75262 Uppsala
http://yi.org/peter-e/ Sweden
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 from your mail client; the link fills in
the headers below: reply via email
Some clients, webmail especially, drop In-Reply-To and References from
a link, and the reply then starts a new thread: use the mbox below.
To: pgsql-sql@postgresql.org
Cc: peter_e@gmx.net, tgl@sss.pgh.pa.us, csawtell@xtra.co.nz
Subject: Re: Counting distinct names
In-Reply-To: <Pine.LNX.4.21.0004211909460.351-100000@localhost.localdomain>
References: <1781.956239464@sss.pgh.pa.us> <Pine.LNX.4.21.0004211909460.351-100000@localhost.localdomain>
* 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