public inbox for [email protected]
help / color / mirror / Atom feedFrom: Tom Lane <[email protected]>
To: Gunnar <[email protected]>
Cc: [email protected]
Subject: Re: pgping?
Date: Sat, 13 Dec 2025 10:59:35 -0500
Message-ID: <[email protected]> (raw)
In-Reply-To: <[email protected]>
References: <CAPdrarpx11sa=W2dQhLAhQGQ=2a_wtMmB8KPqEY-C4ZbJem1JA@mail.gmail.com>
<CANzqJaApzEfVtBqvitzFunaVNpwTDy=rNorXm0_YAuCFVO_c=w@mail.gmail.com>
<[email protected]>
<[email protected]>
Gunnar <[email protected]> writes:
> On 9/19/25 06:06, Tom Lane wrote:
>> pg_isready might be what the OP wants.
> my latest experience with pg_isready reminded me that it only works on a
> general level (cluster ready generally) though.
> If you include a database to the command it still reports true even if
> the database you want to address does not exist.
If you want to see whether you can log in, then try to log in, using
psql or pretty much any other client. That is not the problem that
pg_isready seeks to solve.
regards, tom lane
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], [email protected]
Subject: Re: pgping?
In-Reply-To: <[email protected]>
* 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