Received: from malur.postgresql.org ([217.196.149.56]) by arkaria.postgresql.org with esmtps (TLS1.3) tls TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384 (Exim 4.96) (envelope-from ) id 1vNZhP-0071jW-13 for pgsql-admin@arkaria.postgresql.org; Mon, 24 Nov 2025 16:45:59 +0000 Received: from localhost ([127.0.0.1] helo=malur.postgresql.org) by malur.postgresql.org with esmtp (Exim 4.96) (envelope-from ) id 1vNZhN-0029Gr-3A for pgsql-admin@arkaria.postgresql.org; Mon, 24 Nov 2025 16:45:58 +0000 Received: from magus.postgresql.org ([2a02:c0:301:0:ffff::29]) by malur.postgresql.org with esmtps (TLS1.3) tls TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384 (Exim 4.96) (envelope-from ) id 1vNZhN-0029Gj-26 for pgsql-admin@lists.postgresql.org; Mon, 24 Nov 2025 16:45:57 +0000 Received: from mail-ot1-x32e.google.com ([2607:f8b0:4864:20::32e]) by magus.postgresql.org with esmtps (TLS1.3) tls TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256 (Exim 4.96) (envelope-from ) id 1vNZhM-001GD8-0C for pgsql-admin@lists.postgresql.org; Mon, 24 Nov 2025 16:45:57 +0000 Received: by mail-ot1-x32e.google.com with SMTP id 46e09a7af769-7c75a5cb752so2586773a34.2 for ; Mon, 24 Nov 2025 08:45:55 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1764002754; x=1764607554; darn=lists.postgresql.org; h=cc:to:subject:message-id:date:from:references:in-reply-to :mime-version:from:to:cc:subject:date:message-id:reply-to; bh=/dj3Y3ANNHeg6R5A8SfBwIiOGebmP6pZZiIC+ELxol4=; b=iq1f1AL7pDzEjeAdWzVsXv9hr+k53/WU59VnOZEtfGd4IsgFbyDdWp9ycSfQyfbG8G 9lI6tBKWylgvCbX+C7H2b0I0Xd35n69Ktl3ysUc7DLMLXT09m00iWG7JylzigFRP970+ HwyZI5fwZVKCz1lt4x3IbxOe0xF9W5A6JRozOG6jEiouqJpVXe3l183CsDr5t8IatPpU UqJwvmfSirtfy3T1KYYeP39wSr5iBw9MUqBdPSdBZsJIJxNdV+lbCgXhX4OYvR36AUS1 GmN6qkX1rTWBwUgLWVRfk6aeSlTmjhTWkUIrxYITs3S2btJepfIVyRAtPYa7DHHPJABz 7uSQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1764002754; x=1764607554; h=cc:to:subject:message-id:date:from:references:in-reply-to :mime-version:x-gm-gg:x-gm-message-state:from:to:cc:subject:date :message-id:reply-to; bh=/dj3Y3ANNHeg6R5A8SfBwIiOGebmP6pZZiIC+ELxol4=; b=MwhCsEo0n24xiXcXv+PUNSuJ4bkFt84VWvgTWfb9wup+dfMGR4kJmexpGTZcwJfMfc FFO4mEyf291WCbu1EwTofgw9sWD2NFvcMCcwgfG3jHmx/tyZgo7JOp4N5nAXLUkU6Vzy WV7owD5nGq8SIull49XNMpKj1ozOkpqpDj8gQXk66u3rfaVqxh8HVS66OkBPJ+0zf7QR adZuBkAvEW7ROOcUsyqSWwcE8vQ8QM2Lv+wYau56nXgHZfCQkfYOwJ9uI09IBpW0wRSa EbNoC7tt+WvAGIuNwf6iRbKkFLTVykHN28q/e2jPhNay8cLFy28+qeXuiYEHuwXFJ9dV yJ9g== X-Gm-Message-State: AOJu0Yz9uq5DQlmtl43xnzFCBtX7/l7ZrnUQUcJp8YB3D40MlRUi/JS4 L/Ng7N0jnwUEYlmybe9TjfFGlKYMw99RRrpfauZAlBsC/pDaCGjGNEFDqpphQM8qEAfYL+Sg7ll yZnOky72hJZ6ck9tHdq8sDYn6yJICUqs= X-Gm-Gg: ASbGncuqlw2rYXuXkmeVsSDeFgkI6kys7xut/wT7E20pBx5Exn25TuZoCtDgaC2f3Db TyFcmgGPdq1SL0S6wKlBxbMWIBVGMfsolFEAMxton8gFzGtrL2iwUvWrTL32+OsNfiuZPtaWvfd C3ZODD7nSJFtfNXzadk9a+dUfgddXaNMeujISQ0CqHwtVan/0rSBKaFdqYCpFlfisv72aNWVU+X bQcTnd4SgonevrBgJVN/y1yjHx39cIIr9FQxpWNtuCxh+9CLNWDu4rsbgdephihTeHXCbvxO3Ul gvhz4w== X-Google-Smtp-Source: AGHT+IHGfrU9fLXfgZe8xUY5iIME8hRlzIF7Pu6kilnqDuHYgrH4zqEyhPRkKI3Ruk62TG2JpavwMQW+8LEcvc9NXxc= X-Received: by 2002:a05:6830:3984:b0:7c7:6a17:ba35 with SMTP id 46e09a7af769-7c798d04591mr6645482a34.31.1764002753984; Mon, 24 Nov 2025 08:45:53 -0800 (PST) MIME-Version: 1.0 Received: by 2002:a05:6802:390c:b0:5f6:3e33:734e with HTTP; Mon, 24 Nov 2025 08:45:53 -0800 (PST) In-Reply-To: References: From: "David G. Johnston" Date: Mon, 24 Nov 2025 10:45:53 -0600 X-Gm-Features: AWmQ_bm259ruH3Y3jKgYx_7NjQlIaKJCOT_8_F0c9-9pJdV_iH10BiEF-zmQFbM Message-ID: Subject: Re: Is the pg_isready database name relevant? To: Ron Johnson Cc: Pgsql-admin Content-Type: multipart/alternative; boundary="00000000000088bd88064459e51f" List-Id: List-Help: List-Subscribe: List-Post: List-Owner: List-Archive: Archived-At: Precedence: bulk --00000000000088bd88064459e51f Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable On Monday, November 24, 2025, Ron Johnson wrote: > On Mon, Nov 24, 2025 at 11:30=E2=80=AFAM David G. Johnston < > david.g.johnston@gmail.com> wrote: > >> On Monday, November 24, 2025, Ron Johnson >> wrote: >> >>> The "-d, --dbname=3DDBNAME" option is mentioned in --help output, but >>> pg_isready ignores nonexistent databases. >>> >>> Is this an application bug, a minor doc bug or am I missing something? >>> >> >> It=E2=80=99s documented in the Notes section. >> > > That seems odd. Why mention an option in --help if the option isn't > needed? > Because it exists - and I figure most people should use it to not put spurious errors into the logs. David J. --00000000000088bd88064459e51f Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: quoted-printable On Monday, November 24, 2025, Ron Johnson <ronljohnsonjr@gmail.com> wrote:
On Mon, Nov 24, 2025 at 11:= 30=E2=80=AFAM David G. Johnston <david.g.johnston@gmail.com> wrote:
O= n Monday, November 24, 2025, Ron Johnson <ronljohnsonjr@gmail.com> wrote:
The &= quot;-d, --dbname=3DDBNAME" option is mentioned in --help output, but = pg_isready ignores=C2=A0nonexistent=C2=A0databases.

Is this an application bug, a minor doc bug or am I=C2=A0missing somethin= g?

It=E2=80=99s documented = in the Notes section.

That seems odd.= =C2=A0 Why mention an option in --help if the option isn't needed?

Because it exists - and I fig= ure most people should use it to not put spurious errors into the logs.

David J.
=C2=A0
--00000000000088bd88064459e51f--