public inbox for [email protected]
help / color / mirror / Atom feedFrom: David G. Johnston <[email protected]>
To: Gunnar <[email protected]>
Cc: [email protected] <[email protected]>
Subject: Re: pgping?
Date: Sun, 14 Dec 2025 05:54:12 -0700
Message-ID: <CAKFQuwayahduJa8VaYffsq2Ask7aEqs=QehhN8s6xs+ehLk7eQ@mail.gmail.com> (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]>
<CAKFQuwbr_uyCZSdtF0huf+5FM2CBXWmZGkjLOu1721Wejj6BRA@mail.gmail.com>
<[email protected]>
On Saturday, December 13, 2025, Gunnar <[email protected]> wrote:
>
>
> On 12/13/25 15:54, David G. Johnston wrote:
>
>
>
> On Friday, December 12, 2025, Gunnar <[email protected]> wrote:
>
>>
>> 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.
>>
>> That said I remember that I read this was broken since ... forever, which
>> means nobody cares.
>>
>>
> It isn’t broken - it is working precisely as intended and required for the
> use cases it’s meant to solve. That’s why no one is fixing it. These
> people that want it to solve additional use cases need to step up and
> implement some new features for it.
>
>
> hm, one might argue, that if the use case 'pg_isready -d database' is
> mentioned in the manual this could be seen as the aspiration, or maybe even
> commitment to that feature.
> Even the description of pg_isready --help mentions a "connection check to
> a database", not a cluster.
>
> Do I misinterpret the manual/help? If that was the case my next question
> was ... what is the purpose of the option -d, --dbname=DBNAME ?
>
As I wrote in the other thread while rephrasing what the docs say: it
avoids an inconsequential error message in the server log since the backend
protocol requires any connection attempt to include those fields and
sometime the defaults aren’t correct.
David J,
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: <CAKFQuwayahduJa8VaYffsq2Ask7aEqs=QehhN8s6xs+ehLk7eQ@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