Re: pg_isready mandatory parameters?

Поиск
Список
Период
Сортировка
От Jeffrey Walton
Тема Re: pg_isready mandatory parameters?
Дата
Msg-id CAH8yC8m0fU8xVtJzwHZg5Ac5j1PN6wKTbhLfi9wm9o1JsD-fww@mail.gmail.com
обсуждение исходный текст
Ответ на pg_isready mandatory parameters?  ("Zwettler Markus (OIZ)" <Markus.Zwettler@zuerich.ch>)
Список pgsql-general
On Fri, Nov 11, 2022 at 12:09 PM Zwettler Markus (OIZ)
<Markus.Zwettler@zuerich.ch> wrote:
>
> I found this in PG14 è
>
> bash-4.4$ ./pg_isready --version
>
> pg_isready (PostgreSQL) 14.2
>
> bash-4.4$ ./pg_isready
>
> /var/run/postgresql:5432 - no attempt
>
> bash-4.4$ ./pg_isready -h localhost
>
> localhost:5432 - no attempt
>
> bash-4.4$ ./pg_isready -h localhost -p 5432
>
> localhost:5432 - no attempt
>
> bash-4.4$ ./pg_isready -h localhost -p 5432 -d postgres
>
> localhost:5432 - no attempt
>
> bash-4.4$ ./pg_isready -h localhost -p 5432 -d postgres -U postgres
>
> localhost:5432 - accepting connections
>
> I always thought all parameters are optional? No?

Optional or ignored???

This may be more what you are looking for:
https://github.com/noloader/pg_check_conn

Jeff



В списке pgsql-general по дате отправления:

Предыдущее
От: Alexis Zapata
Дата:
Сообщение: Table : Bloat grow high
Следующее
От: Tom Lane
Дата:
Сообщение: Re: pg_isready mandatory parameters?