public inbox for [email protected]  
help / color / mirror / Atom feed
From: Ron Johnson <[email protected]>
To: Pgsql-admin <[email protected]>
Subject: Is the pg_isready database name relevant?
Date: Mon, 24 Nov 2025 11:27:57 -0500
Message-ID: <CANzqJaAob4BFkhc2-w_vJrm-8KgELNnmqJJhc4oNDuY-O9+Azg@mail.gmail.com> (raw)

The "-d, --dbname=DBNAME" option is mentioned in --help output, but
pg_isready ignores nonexistent databases.

$ psql -V
psql (PostgreSQL) 17.6
$ pg_isready -d blarge -h BBOSLBXPGS402
BBOSLBXPGS402:5432 - accepting connections

Is this an application bug, a minor doc bug or am I missing something?

-- 
Death to <Redacted>, and butter sauce.
Don't boil me, I'm still alive.
<Redacted> lobster!


view thread (11+ messages)  latest in thread

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 using the --to and --cc options:
  reply via email

  To: [email protected]
  Cc: [email protected], [email protected]
  Subject: Re: Is the pg_isready database name relevant?
  In-Reply-To: <CANzqJaAob4BFkhc2-w_vJrm-8KgELNnmqJJhc4oNDuY-O9+Azg@mail.gmail.com>

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

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