Re: What are the minimum required permissions for pg_isready

From: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
To: ieugen(at)netdava(dot)com
Cc: pgsql-docs(at)lists(dot)postgresql(dot)org
Subject: Re: What are the minimum required permissions for pg_isready
Date: 2024-03-13 14:33:28
Message-ID: 2046351.1710340408@sss.pgh.pa.us
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-docs

PG Doc comments form <noreply(at)postgresql(dot)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

In response to

Browse pgsql-docs by date

  From Date Subject
Next Message Tom Lane 2024-03-13 14:37:39 Re: Incomplete sentence in the description for most_common_freqs
Previous Message Laurenz Albe 2024-03-13 13:06:32 Re: Definition of random_page_cost seems to invert correlation of that setting and seq_page_cost