Received: from merganser.its.uu.se (merganser.its.uu.se [130.238.6.236]) by hub.org (8.9.3/8.9.3) with ESMTP id SAA37646 for ; Fri, 21 Apr 2000 18:02:25 -0400 (EDT) (envelope-from peter@localhost.its.uu.se) Received: from regulus.student.UU.SE ([130.238.5.2]:39691 "EHLO regulus.its.uu.se") by merganser.its.uu.se with ESMTP id ; Sat, 22 Apr 2000 00:02:13 +0200 Received: from peter (helo=localhost) by regulus.its.uu.se with local-esmtp (Exim 3.02 #2) id 12ilZC-0000dD-00; Sat, 22 Apr 2000 00:06:26 +0200 Date: Sat, 22 Apr 2000 00:06:26 +0200 (CEST) From: Peter Eisentraut To: Tom Lane cc: Christopher Sawtell , "pgsql-sql@postgreSQL.org" Subject: Re: Counting distinct names In-Reply-To: <1781.956239464@sss.pgh.pa.us> Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=ISO-8859-1 Content-Transfer-Encoding: 8BIT X-Archive-Number: 200004/246 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