Re: Detect bin directory

From: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
To: Tiziano Valdemarin <tizianovaldemarin(at)gmail(dot)com>
Cc: pgsql-general(at)postgresql(dot)org
Subject: Re: Detect bin directory
Date: 2013-11-04 14:28:55
Message-ID: 10927.1383575335@sss.pgh.pa.us
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general

Tiziano Valdemarin <tizianovaldemarin(at)gmail(dot)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

In response to

Browse pgsql-general by date

  From Date Subject
Next Message anjanu 2013-11-04 14:44:40 Re: Postgresql 9.0.13 core dump
Previous Message Tiziano Valdemarin 2013-11-04 14:22:35 Detect bin directory