pg_isready docs doesn't specify what exactly it is checking

From: PG Doc comments form <noreply(at)postgresql(dot)org>
To: pgsql-docs(at)lists(dot)postgresql(dot)org
Cc: anatoli(at)rainforce(dot)org
Subject: pg_isready docs doesn't specify what exactly it is checking
Date: 2022-01-04 18:11:48
Message-ID: 164131990826.21661.14675569223855830732@wrigleys.postgresql.org
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: 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.

Responses

Browse pgsql-docs by date

  From Date Subject
Next Message Bruce Momjian 2022-01-04 22:28:04 Re: Typo in "27.2.8. Synchronous Replication"
Previous Message PG Doc comments form 2022-01-04 17:00:53 role_table_grants only shows grantees that are "groups"?