pg_isready docs doesn't specify what exactly it is checking - Mailing list pgsql-docs

From PG Doc comments form
Subject pg_isready docs doesn't specify what exactly it is checking
Date
Msg-id 164131990826.21661.14675569223855830732@wrigleys.postgresql.org
Whole thread Raw
Responses Re: pg_isready docs doesn't specify what exactly it is checking
List pgsql-docs
The following documentation comment has been logged on the website:

Page: https://www.postgresql.org/docs/14/app-pg-isready.html
Description:

`pg_isready` docs don't specify how its different from a port probe - what
does on top of checking that a port is open? Does it send some handshake
message that a server responds to when initialization is finished?

People here are telling that `pg_isready` is not reliable and that
`pg_isready` may return when database is not actually ready
https://github.com/docker-library/postgres/issues/880#issuecomment-1004251102
Without further info about `pg_isready` it is not clear if it should be
filled as a bug. Or if it should be filled as a bug only when an
initialization script is involved.

pgsql-docs by date:

Previous
From: PG Doc comments form
Date:
Subject: role_table_grants only shows grantees that are "groups"?
Next
From: Bruce Momjian
Date:
Subject: Re: Typo in "27.2.8. Synchronous Replication"