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 1vUTAJ-00CEy4-23 for pgsql-admin@arkaria.postgresql.org; Sat, 13 Dec 2025 17:12:20 +0000 Received: from localhost ([127.0.0.1] helo=malur.postgresql.org) by malur.postgresql.org with esmtp (Exim 4.96) (envelope-from ) id 1vUTAI-00BBpM-1O for pgsql-admin@arkaria.postgresql.org; Sat, 13 Dec 2025 17:12:19 +0000 Received: from makus.postgresql.org ([2001:4800:3e1:1::229]) by malur.postgresql.org with esmtps (TLS1.3) tls TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384 (Exim 4.96) (envelope-from ) id 1vUTAI-00BBpC-0E for pgsql-admin@lists.postgresql.org; Sat, 13 Dec 2025 17:12:18 +0000 Received: from mail-oi1-x231.google.com ([2607:f8b0:4864:20::231]) by makus.postgresql.org with esmtps (TLS1.3) tls TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256 (Exim 4.96) (envelope-from ) id 1vUTAH-000V1T-0I for pgsql-admin@lists.postgresql.org; Sat, 13 Dec 2025 17:12:17 +0000 Received: by mail-oi1-x231.google.com with SMTP id 5614622812f47-450063be247so1018276b6e.2 for ; Sat, 13 Dec 2025 09:12:16 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1765645935; x=1766250735; darn=lists.postgresql.org; h=to:subject:message-id:date:from:in-reply-to:references:mime-version :from:to:cc:subject:date:message-id:reply-to; bh=EHaaAJyFVwyZwr8olNQpj77GrT7TTUi36PVwAHyE7Qw=; b=mwSPWYoEsm32Gnq8RFVE8eHbo1Cf7CLqJwBKYok0EklB7MOHZsfJDGS2LTGs7U8TSv tdpHJ2vDFHDXlEcVY/Q8EKpzqxLs9AZw6P1/NGgoesUQkzaKxagEHQXIDdwahDVYkcoT QeMFCLfhV5HOcGkwFtC7nvOiKQrPzOearBWJ+XB53jLS+MKV8bnB+C7jHaGLNy7lyae5 EzmWV4B98hRYdYK3LqRgOvtUwtvvb9XWG30RC8EPNcLywodOV+w21q3mnJYbL4KGlicx UFuuj7aQrURNiskqibjTOXK8bFu4W6yyD3qz80+VJJog1lMOP+5kA4g3z2eMvejfmf1u eCbw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1765645935; x=1766250735; h=to:subject:message-id:date:from:in-reply-to:references:mime-version :x-gm-gg:x-gm-message-state:from:to:cc:subject:date:message-id :reply-to; bh=EHaaAJyFVwyZwr8olNQpj77GrT7TTUi36PVwAHyE7Qw=; b=dK/5Xoc40InZYKcXjiNESHwYjR/vUepl+Ja7a8mGCrKwzsDQwZrvcFYZGu1uPbV+Hb pZDdG4xgZjpyepPgDAot5i2SAQxh4fYLfk5KONZy84aSEu3SHWVQqxGuWzHHDsaMG4d0 H4N0xz7WdnoA7JbRbeKyOXuqyepDFMlsvhJCYRLN62IIR1KkaHiJ3OE8Y3AgYBxfBdwQ aLabGmkzhIGACgf8XrKYt0ECb+0freyiHMOuVhtEq5S2ufUIJMJtcRyCh4ofHEfb9xgp E+7EA4kKnSFGigexNMsGPaYSqO9oBuVdXC0dPK5rm8//7B8NO2rTagqEmcHGc/X4dagL 0SIw== X-Gm-Message-State: AOJu0YzekL2Xud3VqxOssc+bGzZlhxZGqinm6renSv58PkP2MuiB7cuw rzJt4Xl2PX6ncLrPbUwQO6czmfHt7d4CFTlmavB1omR57r1MzMRvcub9EwnLM/95Wyq6nBlkRnn 12W9veAGkg6+F6yjIqH8NRDpRX+G/7P+5eQ== X-Gm-Gg: AY/fxX6yF7sq4XK+65PQoahsYDWSirap0u5HY+tVNlJHeVLXfxZH63YrCMPetmhE0Dn wMMejV4mHBDckvhz9iGUt1plOlO5+C3Gwgkcy2v7kEUSqotZtT8NLSJgaMeWBGiuOgS/b++iudg MG8ThRqXaD/SHVYUBYRHq8JMCwXMfhw2n2bez3b4HTwIyT8QUvxgvrN/SHA9WsbuGlNbFCXJKaN 9hMKkG0fVGyk/3/cLqlvlj38oVfD8+pNNUKw+22HA5KfQ0+GF0d3VQuKbw6hZkLgc336V+T X-Google-Smtp-Source: AGHT+IFiMYEtkbZNffApvHeBslnK9lHlfQQipkSmK38n0dArVtOq1zHST4SkOKhhY470bm3zPTMvpDt0lZmfNx39ESI= X-Received: by 2002:a05:6808:1b26:b0:450:c52d:872b with SMTP id 5614622812f47-455ac956c80mr3052530b6e.35.1765645935093; Sat, 13 Dec 2025 09:12:15 -0800 (PST) MIME-Version: 1.0 References: <2046739.1758254802@sss.pgh.pa.us> <471a0d22-f769-450d-a084-74ece10915d5@netcologne.de> In-Reply-To: <471a0d22-f769-450d-a084-74ece10915d5@netcologne.de> From: Ron Johnson Date: Sat, 13 Dec 2025 12:12:04 -0500 X-Gm-Features: AQt7F2pw-9rL8qViop90U45CU3DTd_1U232i1FAt5ueX7HF4USVhpRVeDLyttNo Message-ID: Subject: Re: pgping? To: Pgsql-admin Content-Type: multipart/alternative; boundary="000000000000c2ae0e0645d87a5f" List-Id: List-Help: List-Subscribe: List-Post: List-Owner: List-Archive: Archived-At: Precedence: bulk --000000000000c2ae0e0645d87a5f Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable On Sat, Dec 13, 2025 at 8:20=E2=80=AFAM Gunnar wrote= : > > > On 9/19/25 06:06, Tom Lane wrote: > > Ron Johnson writes: > >> On Thu, Sep 18, 2025 at 4:47=E2=80=AFPM Ron Watkins = wrote: > >>> How do you install pgping on RHEL 9? > >>> It doesn't appear to come with the distribution. > >>> Is there some specific repo you need to use? > >> What does it do that ncat and psql don't do? > > pg_isready might be what the OP wants. > > > > regards, tom lane > 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. > pg_isready is "ncat -zv $host 5432" for systems which don't have ncat installed. No/few Linux systems meet that criterion, but Windows systems might. --=20 Death to , and butter sauce. Don't boil me, I'm still alive. lobster! --000000000000c2ae0e0645d87a5f Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: quoted-printable
On Sat, Dec 13, 2025 at 8:20=E2=80=AFAM G= unnar <tongji@netcologne.de&= gt; wrote:


On 9/19/25 06:06, Tom Lane wrote:
> Ron Johnson <ronljohnsonjr@gmail.com> writes:
>> On Thu, Sep 18, 2025 at 4:47=E2=80=AFPM Ron Watkins <rwatki@gmail.com> wrote:=
>>> How do you install pgping on RHEL 9?
>>> It doesn't appear to come with the distribution.
>>> Is there some specific repo you need to use?
>> What does it do that ncat and psql don't do?
> pg_isready might be what the OP wants.
>
>=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 = =C2=A0 =C2=A0regards, tom lane
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.

pg_isready is= "ncat -zv $host 5432" for systems which don't have ncat inst= alled.=C2=A0 No/few Linux systems meet that criterion, but Windows systems = might.

-- =
Deat= h to <Redacted>, and butter sauce.
Don't boil me, I'm sti= ll alive.
<Redacted> lobster!
--000000000000c2ae0e0645d87a5f--