pg.ddx.io  pgsql-docs@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Tom Lane <tgl@sss.pgh.pa.us>
To: ieugen@netdava.com
Cc: pgsql-docs@lists.postgresql.org
Subject: Re: What are the minimum required permissions for pg_isready
Date: Wed, 13 Mar 2024 10:33:28 -0400
Message-ID: <2046351.1710340408@sss.pgh.pa.us> (raw)
In-Reply-To: <171025617053.644.10483329448201728341@wrigleys.postgresql.org>
References: <171025617053.644.10483329448201728341@wrigleys.postgresql.org>

PG Doc comments form <noreply@postgresql.org> 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





view thread (2+ messages)

Message-ID: <2046351.1710340408@sss.pgh.pa.us>
Permalink:  ../2046351.1710340408@sss.pgh.pa.us/
Also on:    postgresql.org/message-id/2046351.1710340408@sss.pgh.pa.us

 · 

reply

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Reply to all the recipients using the --to and --cc options:
  reply via email

  To: pgsql-docs@postgresql.org
  Cc: tgl@sss.pgh.pa.us, ieugen@netdava.com, pgsql-docs@lists.postgresql.org
  Subject: Re: What are the minimum required permissions for pg_isready
  In-Reply-To: <2046351.1710340408@sss.pgh.pa.us>

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox