Re: Detect bin directory - Mailing list pgsql-general

From Tom Lane
Subject Re: Detect bin directory
Date
Msg-id 10927.1383575335@sss.pgh.pa.us
Whole thread Raw
In response to Detect bin directory  (Tiziano Valdemarin <tizianovaldemarin@gmail.com>)
List pgsql-general
Tiziano Valdemarin <tizianovaldemarin@gmail.com> writes:
> I know the data directory path can be found in pg_settings, but what about
> bin? Is its path stored anywhere?

It's intentionally not stored anywhere, but rather identified at runtime.

> I already googled the topic but found only negative answers. Is there any
> motive to not expose this information as for the data dir?

If you mean making it visible at SQL level, security might be a reason.

            regards, tom lane


pgsql-general by date:

Previous
From: Tiziano Valdemarin
Date:
Subject: Detect bin directory
Next
From: anjanu
Date:
Subject: Re: Postgresql 9.0.13 core dump