Re: pgping?

Поиск
Список
Период
Сортировка
От Ron Johnson
Тема Re: pgping?
Дата
Msg-id CANzqJaCg=4hPD8Tyn7ohz3hNMQG6=dhVPqEK-5qpnDKpR0W=RQ@mail.gmail.com
обсуждение исходный текст
Ответ на Re: pgping?  (Gunnar <tongji@netcologne.de>)
Ответы Re: pgping?
Список pgsql-admin
On Sat, Dec 13, 2025 at 8:20 AM Gunnar <tongji@netcologne.de> wrote:


On 9/19/25 06:06, Tom Lane wrote:
> Ron Johnson <ronljohnsonjr@gmail.com> writes:
>> On Thu, Sep 18, 2025 at 4:47 PM 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.
>
>                       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.

--
Death to <Redacted>, and butter sauce.
Don't boil me, I'm still alive.
<Redacted> lobster!

В списке pgsql-admin по дате отправления: