pg_isready mandatory parameters?

From: "Zwettler Markus (OIZ)" <Markus(dot)Zwettler(at)zuerich(dot)ch>
To: "pgsql-general(at)postgresql(dot)org" <pgsql-general(at)postgresql(dot)org>
Subject: pg_isready mandatory parameters?
Date: 2022-11-11 17:09:23
Message-ID: 175a3060f7e64afab6e316529635f0a4@zuerich.ch
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general

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?

Thanks,
Markus

Responses

Browse pgsql-general by date

  From Date Subject
Next Message Alexis Zapata 2022-11-11 17:09:27 Table : Bloat grow high
Previous Message Richard Welty 2022-11-11 16:39:32 Re: pgadmin4 versions on Ubuntu 22.04