Received: from malur.postgresql.org ([217.196.149.56]) by arkaria.postgresql.org with esmtps (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1kd601-0001pP-Ie for pgsql-general@arkaria.postgresql.org; Thu, 12 Nov 2020 06:22:25 +0000 Received: from localhost ([127.0.0.1] helo=malur.postgresql.org) by malur.postgresql.org with esmtp (Exim 4.92) (envelope-from ) id 1kd600-00072Q-GU for pgsql-general@arkaria.postgresql.org; Thu, 12 Nov 2020 06:22:24 +0000 Received: from magus.postgresql.org ([2a02:c0:301:0:ffff::29]) by malur.postgresql.org with esmtps (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1kd600-00072J-7S for pgsql-general@lists.postgresql.org; Thu, 12 Nov 2020 06:22:24 +0000 Received: from mail-ej1-x641.google.com ([2a00:1450:4864:20::641]) by magus.postgresql.org with esmtps (TLS1.3:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.92) (envelope-from ) id 1kd5zy-0005sf-4A for pgsql-general@postgresql.org; Thu, 12 Nov 2020 06:22:23 +0000 Received: by mail-ej1-x641.google.com with SMTP id oq3so6064807ejb.7 for ; Wed, 11 Nov 2020 22:22:21 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:subject:from:in-reply-to:date:cc :content-transfer-encoding:message-id:references:to; bh=u/tLyrZNSJcO+qR760zuJ/0RUkswMtybaZ1bESojOHU=; b=ffgThb4daUjvxo+hV+QRQPay+lNj8XAwDn7ZzDzTaficl64ZnEYilycnThSNi3ErCi tYS/8C3bZAqU680ESZu9oExz5+C62tUq9CiZaMcZzxqoJFaoXxMMa02bF2n/1cxe0IYq 0knI1w1pyA8+pA1BzJFVe6P5WZzgx6hA/Te6q7IxuEIZ9OVRG29B2WmHTm0SfeX9Bf+9 MukdA+ZB1ADteHFrYvqnL6X8d1dY8N/VOIdp2I8us3ExEm3BIMEgzaPscnaxNQZEv20q aGWE8VJ+fg20GLZd91Y3mlLXoftxfBNj1FGwKHDKvVORYvXYXzW7AZs6xgsK3+ezN9Wn QUGw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:subject:from:in-reply-to:date:cc :content-transfer-encoding:message-id:references:to; bh=u/tLyrZNSJcO+qR760zuJ/0RUkswMtybaZ1bESojOHU=; b=eoH8gk394nB9oXYisf9IIoxEMmoGm4y0m0zLepeZW4sDb+p9BdOCnALvtraZTC5HLe kdSgjEuonndFR7e5jB9drrjpk1DBVrmjIn8rdP0ly8s5Qgltozebf3Cp831liuV8pZw9 q96gOFBFJh7d/sLuoW2ODD1qZAG+ulV6FWSv3qZjKGI20L2V9eg6FBNaq4IVint2EBHm 6AqG3MXfvAun4OS8vjc7XagiwqSFeh9ATIFlbaoEqdXOKewE5yrkc2jayfxQ3iij1tAi Zxz0c6U7qLxvqVN8Sw6BI2X2LevAzMvJULSct6CAducPAbZi6Huwe+8mB9Joe5upU4Ym a0DQ== X-Gm-Message-State: AOAM530IP8YAJHQ1TEGR5MKYzAh3TEGXdkJPEHdo8QIJzGysCGheMdy7 PvkZfzMyGbe7k7CeW1l5cqs= X-Google-Smtp-Source: ABdhPJxEtDD4cIBJ3KJxPRF/cbHse/GBukAsruKey+C+wjlhRLcwOOUVC3KqYrnmJhqhCp0r2wpSXA== X-Received: by 2002:a17:906:b003:: with SMTP id v3mr21851371ejy.290.1605162140992; Wed, 11 Nov 2020 22:22:20 -0800 (PST) Received: from [192.168.1.145] (241-57-239-77.dyn.cable.fcom.ch. [77.239.57.241]) by smtp.gmail.com with ESMTPSA id y1sm1872230edj.76.2020.11.11.22.22.20 (version=TLS1_2 cipher=ECDHE-ECDSA-AES128-GCM-SHA256 bits=128/128); Wed, 11 Nov 2020 22:22:20 -0800 (PST) Content-Type: text/plain; charset=us-ascii Mime-Version: 1.0 (Mac OS X Mail 13.4 \(3608.120.23.2.4\)) Subject: Re: Discovering postgres binary directory location From: =?utf-8?Q?Paul_F=C3=B6rster?= In-Reply-To: <0d1b4b8f-ff92-0078-3643-ce7453ed50da@aklaver.com> Date: Thu, 12 Nov 2020 07:22:18 +0100 Cc: Postgres General Content-Transfer-Encoding: quoted-printable Message-Id: <8FA9B2DC-2DFB-4A6D-A470-E8A16D0EDD73@gmail.com> References: <0d1b4b8f-ff92-0078-3643-ce7453ed50da@aklaver.com> To: Adrian Klaver , Raul Kaubi X-Mailer: Apple Mail (2.3608.120.23.2.4) List-Id: List-Help: List-Subscribe: List-Post: List-Owner: List-Archive: Precedence: bulk Hi Raul, hi Adrian, > On 11. Nov, 2020, at 23:26, Adrian Klaver = wrote: >=20 > On 11/11/20 2:22 PM, Raul Kaubi wrote: >> 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* >=20 > pg_config --bindir > /usr/local/pgsql12/bin or by query: postgres=3D# select setting from pg_config where name =3D 'BINDIR'; setting =20 ------------------------- /data/postgres/12.4/bin (1 row) Cheers, Paul=