Peter Eisentraut <peter_e(at)gmx(dot)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