Discovering postgres binary directory location - Mailing list pgsql-general

From Raul Kaubi
Subject Discovering postgres binary directory location
Date
Msg-id CAO_+3-Dt-dtf_+wX5PiCfPjmz7q2pz5Q20mKESVv3d_q_PWtMQ@mail.gmail.com
Whole thread Raw
Responses Re: Discovering postgres binary directory location
List pgsql-general
Hi

CentOS 7
Postgres 9 to 12

I am looking ways to universally discover postgresql binary directory for monitoring purpose.
For example postgres 12, it is: /usr/pgsql-12

So what would be the best way to discover this in specific host.

Regards
Raul

pgsql-general by date:

Previous
From: Bruce Momjian
Date:
Subject: Re: New "function tables" in V13 documentation
Next
From: Adrian Klaver
Date:
Subject: Re: Discovering postgres binary directory location