Re: pg_config/share_dir - Mailing list pgsql-hackers

From Peter Eisentraut
Subject Re: pg_config/share_dir
Date
Msg-id 200509080248.12682.peter_e@gmx.net
Whole thread Raw
In response to Re: pg_config/share_dir  (Tom Lane <tgl@sss.pgh.pa.us>)
Responses Re: pg_config/share_dir
List pgsql-hackers
Tom Lane wrote:
> pg_config serves a function of recording the configuration,

pg_config was meant (as opposed to "serves") to provide information that 
is of use for building third-party things.  Hence includedir, libdir 
for building, pkglibdir for installing.  The option --configure records 
the configuration, if you like, but I don't see the point of giving 
users direct access to directories that they have no use for.  I mean, 
what would anyone want to do with pg_config --localedir?  Certainly not 
store the locale files of his own module there.  There is a point to be 
made that sysconfdir should be exposed, perhaps for the benefit of GUI 
configuration editors, but that seems theoretical to me.

-- 
Peter Eisentraut
http://developer.postgresql.org/~petere/


pgsql-hackers by date:

Previous
From: Tom Lane
Date:
Subject: Re: pg_config/share_dir
Next
From: Tom Lane
Date:
Subject: Re: initdb profiles