pg.ddx.io  pgsql-docs@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: PG Doc comments form <noreply@postgresql.org>
To: pgsql-docs@lists.postgresql.org
Cc: anatoli@rainforce.org
Subject: pg_isready docs doesn't specify what exactly it is checking
Date: Tue, 04 Jan 2022 18:11:48 +0000
Message-ID: <164131990826.21661.14675569223855830732@wrigleys.postgresql.org> (raw)

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.


view thread (3+ messages)  latest in thread

Message-ID: <164131990826.21661.14675569223855830732@wrigleys.postgresql.org>
Permalink:  ../164131990826.21661.14675569223855830732@wrigleys.postgresql.org/
Also on:    postgresql.org/message-id/164131990826.21661.14675569223855830732@wrigleys.postgresql.org

 · 

reply

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Reply to all the recipients using the --to and --cc options:
  reply via email

  To: pgsql-docs@postgresql.org
  Cc: noreply@postgresql.org, pgsql-docs@lists.postgresql.org, anatoli@rainforce.org
  Subject: Re: pg_isready docs doesn't specify what exactly it is checking
  In-Reply-To: <164131990826.21661.14675569223855830732@wrigleys.postgresql.org>

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox