Re: What are the minimum required permissions for pg_isready - Mailing list pgsql-docs

From Tom Lane
Subject Re: What are the minimum required permissions for pg_isready
Date
Msg-id 2046351.1710340408@sss.pgh.pa.us
Whole thread Raw
In response to What are the minimum required permissions for pg_isready  (PG Doc comments form <noreply@postgresql.org>)
List pgsql-docs
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



pgsql-docs by date:

Previous
From: Laurenz Albe
Date:
Subject: Re: Definition of random_page_cost seems to invert correlation of that setting and seq_page_cost
Next
From: Tom Lane
Date:
Subject: Re: Incomplete sentence in the description for most_common_freqs