pg.ddx.io  pgsql-general@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Zwettler Markus (OIZ) <Markus.Zwettler@zuerich.ch>
To: pgsql-general@postgresql.org <pgsql-general@postgresql.org>
Subject: pg_isready mandatory parameters?
Date: Fri, 11 Nov 2022 17:09:23 +0000
Message-ID: <175a3060f7e64afab6e316529635f0a4@zuerich.ch> (raw)

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

view thread (3+ messages)  latest in thread

Message-ID: <175a3060f7e64afab6e316529635f0a4@zuerich.ch>
Permalink:  ../175a3060f7e64afab6e316529635f0a4@zuerich.ch/
Also on:    postgresql.org/message-id/175a3060f7e64afab6e316529635f0a4@zuerich.ch

 · 

reply

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Reply to all the recipients from your mail client; the link fills in
  the headers below: reply via email
  Some clients, webmail especially, drop In-Reply-To and References from
  a link, and the reply then starts a new thread: use the mbox below.

  To: pgsql-general@postgresql.org
  Cc: Markus.Zwettler@zuerich.ch
  Subject: Re: pg_isready mandatory parameters?
  In-Reply-To: <175a3060f7e64afab6e316529635f0a4@zuerich.ch>
  References: <175a3060f7e64afab6e316529635f0a4@zuerich.ch>

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox