Re: What are the minimum required permissions for pg_isready

Поиск
Список
Период
Сортировка
От Tom Lane
Тема Re: What are the minimum required permissions for pg_isready
Дата
Msg-id 2046351.1710340408@sss.pgh.pa.us
обсуждение исходный текст
Ответ на What are the minimum required permissions for pg_isready  (PG Doc comments form <noreply@postgresql.org>)
Список 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 по дате отправления:

Предыдущее
От: Laurenz Albe
Дата:
Сообщение: Re: Definition of random_page_cost seems to invert correlation of that setting and seq_page_cost
Следующее
От: Tom Lane
Дата:
Сообщение: Re: Incomplete sentence in the description for most_common_freqs