Re: pg_config/share_dir

Tom Lane <tgl@sss.pgh.pa.us>

From: Tom Lane <tgl@sss.pgh.pa.us>
To: Peter Eisentraut <peter_e@gmx.net>
Cc: Andrew Dunstan <andrew@dunslane.net>, pgsql-hackers@postgresql.org
Date: 2005-09-08T00:39:27Z
Lists: pgsql-hackers
Peter Eisentraut <peter_e@gmx.net> writes:
> Andrew Dunstan wrote:
>> pg_config doesn't currently seem to have an option to report the
>> share_dir. Should it?

> Is there a case where a user would need anything from there?

pg_config serves a function of recording the configuration, so I tend
to agree with Andrew that this should be available.  I notice that
SYSCONFDIR, PKGINCLUDEDIR, and LOCALEDIR aren't available either.

			regards, tom lane