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 1vUY67-00FmEC-2x for pgsql-admin@arkaria.postgresql.org; Sat, 13 Dec 2025 22:28: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 1vUY55-00Bppc-2S for pgsql-admin@arkaria.postgresql.org; Sat, 13 Dec 2025 22:27:16 +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 1vUY55-00BppT-1C for pgsql-admin@lists.postgresql.org; Sat, 13 Dec 2025 22:27:16 +0000 Received: from mail-oi1-x234.google.com ([2607:f8b0:4864:20::234]) by magus.postgresql.org with esmtps (TLS1.3) tls TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256 (Exim 4.96) (envelope-from ) id 1vUY53-000at8-1f for pgsql-admin@lists.postgresql.org; Sat, 13 Dec 2025 22:27:15 +0000 Received: by mail-oi1-x234.google.com with SMTP id 5614622812f47-4511fa1e3efso764297b6e.0 for ; Sat, 13 Dec 2025 14:27:13 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1765664831; x=1766269631; 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=dvIUvseIRu9XZ0UgCy6z8d8KQ9owtI6xT8yQArlE6gY=; b=QdALXY/MDN1qDP3hmhe6rrt+KPqwHCxm9XHqMinKmlG+R7AoyC8SCTKsuUWzh/VPLN BnAkON89YIXJtygGnhFL8kPkw3CqOZsK+KQtpi64p8nEe3gXp0eTz7qebzcL3HpF2XCy nuQZQoB4LMoAjTURUeT+UZuLZ10Ok6hlYIpKHO2qkwXQVowb5qWEaKtumUUWUTf0ea1N k/xvSZF3TOHCTemuUoG0BsWilnR0EG+xpenZm7+NhrCylQQCCNx8f3jA/nhy25HQungo HhMoVtZhCBtkHG57pCMzf4n9kbLE9R2uSaNlH1HZ0dQ/+L/9TXVF3t6SHXdZEZliRx+o KsyQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1765664831; x=1766269631; 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=dvIUvseIRu9XZ0UgCy6z8d8KQ9owtI6xT8yQArlE6gY=; b=JAWbki9pDT+aTLAbVLy9qyzp4b5cHgd3xbLhfZyp9BPJHA2rblMFVZGLGdvyOKdYti hHiXeFaoJuNkJw2PJGpfJhpngUEWi6UVUSgdv2CiT48dE9uJ6q1gieJp+S/mB/HrEU3S oZr1JHBf10fnOIp3Ww3Ldn+RAU858jCT/19V6aRgFVyUUi2yyrBWkZj36SFJ3Bjn1bzo u/XJbRVO6qBntZQy8qOpuqlFbZm8wjU1WkO59H5+aj3rDhA1IW7m6qS/rxjMrvXgNtHZ MNUxZpm6QgXtXmQce3j/VllOfQcuvx1ay3fBoM4G81UglHpmdNfnfML5L/JlrVafQByO Eddg== X-Gm-Message-State: AOJu0YxAiTbNgdTmk05dxuq7LKqPzQjvY538+N6H0dSWz6fkuS5chDpE znTPyFHvn5BB+W+N6Nh+kZk5yYShO9xKNylhRze7nuVuKuJIuIaLSH3qRwDwP2gRYEVQE5Tt2pq hl82CXe00nYCv6Gf74IIS7kRg+hRrxU22/w== X-Gm-Gg: AY/fxX6L7GBpRTAgoAy22LJ9wbC/nlnrdxjI1uNwqxFJYaaSLzTuUfpJeqI3FTas2CB unWucefzpkP9KddPYAEQTiUehLmKNO9meQVWudDbZMfLbMmOlJ6y5Xqa8pgNKfrn1QwbzRO1Xnx dmvRmOUkhuerBFicJO0xtXFAoWwsjx1+FiBHNWpmCdJqhJ5GdComu1nwRic+VKtppo2iuu5vcAS CL4zo6dCNvlAFB7S1BmtXE8ckkRBOKceHGxxpvhmepetIAT8hjblUp7MRXsBeV1XU7caGKO X-Google-Smtp-Source: AGHT+IHj933nhMpOJ7/knnHoQRoTm0N0RemGl79LkJpYUuk5fDZjU6JeMpJBATidgpE4aB8BMupBG7Q8TjFLgTcLrDQ= X-Received: by 2002:a05:6808:1493:b0:450:d833:6bb6 with SMTP id 5614622812f47-455ac85ec75mr2834019b6e.30.1765664831334; Sat, 13 Dec 2025 14:27:11 -0800 (PST) MIME-Version: 1.0 References: <2046739.1758254802@sss.pgh.pa.us> <471a0d22-f769-450d-a084-74ece10915d5@netcologne.de> In-Reply-To: From: Ron Johnson Date: Sat, 13 Dec 2025 17:27:00 -0500 X-Gm-Features: AQt7F2qytp0wQKcMnmTk5uuVrbFA4URqGiv6U_RuPH9pSA0eVcVxrFlSMnPdXVQ Message-ID: Subject: Re: pgping? To: Pgsql-admin Content-Type: multipart/alternative; boundary="000000000000106ede0645dce1da" List-Id: List-Help: List-Subscribe: List-Post: List-Owner: List-Archive: Archived-At: Precedence: bulk --000000000000106ede0645dce1da Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable On Sat, Dec 13, 2025 at 1:19=E2=80=AFPM David G. Johnston < david.g.johnston@gmail.com> wrote: > On Saturday, December 13, 2025, Ron Johnson > wrote: >> >> pg_isready is "ncat -zv $host 5432" for systems which don't have ncat >> installed. >> > > Pretty sure this is also an incorrect, or at least incomplete statement. > pg_isready uses the PostgreSQL wire protocol to make a better > determination as to readiness than ncat does. People are just complainin= g > that it doesn=E2=80=99t go further than it does. They see =E2=80=9Cuser= =E2=80=9D and =E2=80=9Cdatabase=E2=80=9D > and misinterpret why those options exist. > We've had this discussion before: people see the --dbname and --username options, then quite reasonably think "ah, those options must mean you can test whether a specific database and/or role can connect; otherwise, why the heck would you put them in the --help output?" Bottom line: the purpose of --dbname is to specify a database name; the purpose of --username is to specify a username. Having them in the --help output *misleads the user*. --=20 Death to , and butter sauce. Don't boil me, I'm still alive. lobster! --000000000000106ede0645dce1da Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: quoted-printable
On Sat, Dec 13, 2025 at 1:19=E2=80=AFPM D= avid G. Johnston <david.g.= johnston@gmail.com> wrote:
On Saturday,= December 13, 2025, Ron Johnson <ronljohnsonjr@gmail.com> wrote:
pg_isready is "ncat -zv $host 5432" for systems which do= n't have ncat installed.=C2=A0

<= /div>
Pretty sure this is also an incorrect, or at least incomplete sta= tement. =C2=A0pg_isready uses the PostgreSQL wire protocol to make a better= determination as to readiness than ncat does.=C2=A0 People are just compla= ining that it doesn=E2=80=99t go further than it does.=C2=A0 They see =E2= =80=9Cuser=E2=80=9D and =E2=80=9Cdatabase=E2=80=9D and misinterpret why tho= se options exist.

We've had this = discussion before: people see the --dbname and --username options, then qui= te reasonably think "ah, those options must mean you can test whether = a specific database and/or role can connect; otherwise, why the heck would = you put them in the --help output?"

Bottom li= ne: the purpose of --dbname is to specify a database name; the purpose of -= -username is to specify a username.=C2=A0 Having them in the --help output = misleads the user.

--
Death to <Redacted>, and butter sauce.
Don't b= oil me, I'm still alive.
<Redacted> lobster!
--000000000000106ede0645dce1da--