Received: from malur.postgresql.org ([217.196.149.56]) by arkaria.postgresql.org with esmtps (TLS1.3) tls TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384 (Exim 4.94.2) (envelope-from ) id 1rkPfg-00CaLc-HQ for pgsql-docs@arkaria.postgresql.org; Wed, 13 Mar 2024 14:33:32 +0000 Received: from localhost ([127.0.0.1] helo=malur.postgresql.org) by malur.postgresql.org with esmtp (Exim 4.94.2) (envelope-from ) id 1rkPff-005MIe-30 for pgsql-docs@arkaria.postgresql.org; Wed, 13 Mar 2024 14:33:31 +0000 Received: from makus.postgresql.org ([2001:4800:3e1:1::229]) by malur.postgresql.org with esmtps (TLS1.3) tls TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384 (Exim 4.94.2) (envelope-from ) id 1rkPfe-005MIW-SH for pgsql-docs@lists.postgresql.org; Wed, 13 Mar 2024 14:33:31 +0000 Received: from sss.pgh.pa.us ([68.162.161.243]) by makus.postgresql.org with esmtps (TLS1.3) tls TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384 (Exim 4.94.2) (envelope-from ) id 1rkPfb-004ItQ-O7 for pgsql-docs@lists.postgresql.org; Wed, 13 Mar 2024 14:33:30 +0000 Received: from sss1.sss.pgh.pa.us (localhost [127.0.0.1]) by sss.pgh.pa.us (8.15.2/8.15.2) with ESMTP id 42DEXS282046352; Wed, 13 Mar 2024 10:33:28 -0400 From: Tom Lane To: ieugen@netdava.com cc: pgsql-docs@lists.postgresql.org Subject: Re: What are the minimum required permissions for pg_isready In-reply-to: <171025617053.644.10483329448201728341@wrigleys.postgresql.org> References: <171025617053.644.10483329448201728341@wrigleys.postgresql.org> Comments: In-reply-to PG Doc comments form message dated "Tue, 12 Mar 2024 15:09:30 -0000" MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-ID: <2046350.1710340408.1@sss.pgh.pa.us> Date: Wed, 13 Mar 2024 10:33:28 -0400 Message-ID: <2046351.1710340408@sss.pgh.pa.us> List-Id: List-Help: List-Subscribe: List-Post: List-Owner: List-Archive: Archived-At: Precedence: bulk PG Doc comments form writes: > The documentation does not specify what are the minimum required permissions > for setting up pg_isready . There are none. Per the documentation: It is not necessary to supply correct user name, password, or database name values to obtain the server status; however, if incorrect values are provided, the server will log a failed connection attempt. If you don't want log spam about failed connections, you'd need a user with privilege to connect to the mentioned database. Otherwise, not. regards, tom lane